name: Deploy on: push: branches: [ master ] jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4 with: python-version: '3.10' - name: Install dependencies run: | pip install requests pip install pyyaml - name: Run deploy script env: DEPLOY_URL: ${{ secrets.DEPLOY_URL }} DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }} MIRROR_DEPLOY_URL: ${{ secrets.MIRROR_DEPLOY_URL }} MIRROR_DEPLOY_TOKEN: ${{ secrets.MIRROR_DEPLOY_TOKEN }} run: | python tools/MakePackage.py python tools/PostPackage.py