Fix getting gitea URL
Some checks failed
CI / build (push) Failing after 29s

This commit is contained in:
Jake Howard 2023-11-27 19:48:57 +00:00
parent c92f5b2d2b
commit 804e072cb2
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 2 additions and 7 deletions

View file

@ -16,10 +16,5 @@ jobs:
run: pip install -r requirements.txt run: pip install -r requirements.txt
- name: Build - name: Build
run: ./generate.py run: ./generate.py
- name: Env
run: env
- name: Upload - name: Upload
run: ./upload.py run: GITEA_URL=$GITHUB_SERVER_URL ./upload.py
env:
GITEA_TOKEN: ${{ env.GITHUB_TOKEN }}
GITEA_URL: ${{ env.GITHUB_SERVER_URL }}

View file

@ -13,7 +13,7 @@ PACKAGE_NAME = "gitea-branding"
def main(): def main():
gitea_url = os.environ["GITEA_SERVER_URL"] gitea_url = os.environ["GITEA_URL"]
gitea_token = os.environ["GITEA_TOKEN"] gitea_token = os.environ["GITEA_TOKEN"]
session = requests.Session() session = requests.Session()