Set environment variables in a CI-native way
build
Details
build
Details
This commit is contained in:
parent
604232e8ec
commit
14af2de363
|
@ -14,10 +14,10 @@ jobs:
|
||||||
python-version: "3.11"
|
python-version: "3.11"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pip install -r requirements.txt
|
run: pip install -r requirements.txt
|
||||||
- run: |
|
|
||||||
export GITEA_TOKEN=$GITHUB_TOKEN
|
|
||||||
export GITEA_URL=$GITHUB_SERVER_URL
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./resize.py
|
run: ./resize.py
|
||||||
- name: Upload
|
- name: Upload
|
||||||
run: ./upload.py
|
run: ./upload.py
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ env.GITHUB_TOKEN }}
|
||||||
|
GITEA_URL: ${{ env.GITHUB_SERVER_URL }}
|
||||||
|
|
Loading…
Reference in New Issue