fix(ci): send token correctly in header
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6448abe153
commit
fbafc4d6dd
1 changed files with 1 additions and 2 deletions
|
@ -24,8 +24,7 @@ steps:
|
|||
image: alpine
|
||||
commands:
|
||||
- apk add curl ca-certificates zip
|
||||
- cd dist && zip -r ../deploy.zip * && cd ..
|
||||
- 'curl --fail --upload-file target/release/chs -H "Authorization: $GITEA_TOKEN" https://git.ashhhleyyy.dev/api/packages/ash/generic/chs/$DRONE_COMMIT_SHA/chs'
|
||||
- 'curl --fail --upload-file target/release/chs -H "Authorization: token $GITEA_TOKEN" https://git.ashhhleyyy.dev/api/packages/ash/generic/chs/$DRONE_COMMIT_SHA/chs'
|
||||
environment:
|
||||
GITEA_TOKEN:
|
||||
from_secret: GITEA_TOKEN
|
||||
|
|
Loading…
Reference in a new issue