ci: rename secret from GITEA_TOKEN to CI_TOKEN
Gitea secrets cannot start with GITEA_ or GITHUB_ prefix.
This commit is contained in:
parent
af8807a733
commit
0634262eb2
@ -1,5 +1,8 @@
|
|||||||
name: PR Checks
|
name: PR Checks
|
||||||
|
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.CI_TOKEN }}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|||||||
@ -1,5 +1,8 @@
|
|||||||
name: Release & Publish
|
name: Release & Publish
|
||||||
|
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.CI_TOKEN }}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
@ -117,5 +120,5 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
uv publish \
|
uv publish \
|
||||||
--username ${{ github.actor }} \
|
--username ${{ github.actor }} \
|
||||||
--password ${{ secrets.GITEA_TOKEN }} \
|
--password ${{ env.GITEA_TOKEN }} \
|
||||||
https://git.much-data.ru/api/packages/${{ github.repository_owner }}/pypi
|
https://git.much-data.ru/api/packages/${{ github.repository_owner }}/pypi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user