This commit is contained in:
parent
c92f5b2d2b
commit
804e072cb2
2 changed files with 2 additions and 7 deletions
|
@ -16,10 +16,5 @@ jobs:
|
|||
run: pip install -r requirements.txt
|
||||
- name: Build
|
||||
run: ./generate.py
|
||||
- name: Env
|
||||
run: env
|
||||
- name: Upload
|
||||
run: ./upload.py
|
||||
env:
|
||||
GITEA_TOKEN: ${{ env.GITHUB_TOKEN }}
|
||||
GITEA_URL: ${{ env.GITHUB_SERVER_URL }}
|
||||
run: GITEA_URL=$GITHUB_SERVER_URL ./upload.py
|
||||
|
|
|
@ -13,7 +13,7 @@ PACKAGE_NAME = "gitea-branding"
|
|||
|
||||
|
||||
def main():
|
||||
gitea_url = os.environ["GITEA_SERVER_URL"]
|
||||
gitea_url = os.environ["GITEA_URL"]
|
||||
gitea_token = os.environ["GITEA_TOKEN"]
|
||||
|
||||
session = requests.Session()
|
||||
|
|
Reference in a new issue