mirror of
https://github.com/denglihong2007/CRSim-PluginRepository
synced 2026-05-14 23:35:36 +08:00
feat: 更新环境变量
This commit is contained in:
54
.github/workflows/post.yml
vendored
54
.github/workflows/post.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user