diff --git a/.github/workflows/post.yml b/.github/workflows/post.yml index 17de159..ff35cbe 100644 --- a/.github/workflows/post.yml +++ b/.github/workflows/post.yml @@ -1,26 +1,28 @@ -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 }} - run: | - python tools/MakePackage.py - python tools/PostPackage.py +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