fix: Use giteatoken secret name (Gitea requires lowercase no underscores)
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -102,7 +102,7 @@ jobs:
|
|||||||
- name: Upload to Gitea Release (on tag)
|
- name: Upload to Gitea Release (on tag)
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.giteatoken }}
|
||||||
GITEA_API: https://gitea.moon-dragon.us/api/v1
|
GITEA_API: https://gitea.moon-dragon.us/api/v1
|
||||||
run: |
|
run: |
|
||||||
TAG_NAME=${GITHUB_REF#refs/tags/}
|
TAG_NAME=${GITHUB_REF#refs/tags/}
|
||||||
@ -135,7 +135,7 @@ jobs:
|
|||||||
- name: Upload to Gitea Release (on tag)
|
- name: Upload to Gitea Release (on tag)
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.giteatoken }}
|
||||||
GITEA_API: https://gitea.moon-dragon.us/api/v1
|
GITEA_API: https://gitea.moon-dragon.us/api/v1
|
||||||
run: |
|
run: |
|
||||||
TAG_NAME=${GITHUB_REF#refs/tags/}
|
TAG_NAME=${GITHUB_REF#refs/tags/}
|
||||||
@ -173,7 +173,7 @@ jobs:
|
|||||||
- name: Upload to Gitea Release (on tag)
|
- name: Upload to Gitea Release (on tag)
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.giteatoken }}
|
||||||
GITEA_API: https://gitea.moon-dragon.us/api/v1
|
GITEA_API: https://gitea.moon-dragon.us/api/v1
|
||||||
run: |
|
run: |
|
||||||
TAG_NAME=${GITHUB_REF#refs/tags/}
|
TAG_NAME=${GITHUB_REF#refs/tags/}
|
||||||
@ -205,7 +205,7 @@ jobs:
|
|||||||
- name: Upload to Gitea Release (on tag)
|
- name: Upload to Gitea Release (on tag)
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.giteatoken }}
|
||||||
GITEA_API: https://gitea.moon-dragon.us/api/v1
|
GITEA_API: https://gitea.moon-dragon.us/api/v1
|
||||||
run: |
|
run: |
|
||||||
TAG_NAME=${GITHUB_REF#refs/tags/}
|
TAG_NAME=${GITHUB_REF#refs/tags/}
|
||||||
|
|||||||
Reference in New Issue
Block a user