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
|
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 }}
|
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Reference in a new issue