From f1f460db68213551192d413d03c1771b22fa672f Mon Sep 17 00:00:00 2001 From: wxl0430 <141288415+wxl0430@users.noreply.github.com> Date: Sun, 20 Jul 2025 09:46:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/post.yml | 54 ++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 26 deletions(-) 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