feat: 更新环境变量

This commit is contained in:
wxl0430
2025-07-20 09:46:50 +08:00
committed by GitHub
parent 89716a61e3
commit f1f460db68

View File

@@ -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