Set environment variables in a CI-native way
Some checks failed
build

This commit is contained in:
Jake Howard 2023-03-26 20:12:05 +01:00
parent 604232e8ec
commit 14af2de363
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

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