fix(ci): use correct url to upload
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Ashhhleyyy 2022-11-02 17:15:36 +00:00
parent d182565f0a
commit 6448abe153
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

@ -25,7 +25,7 @@ steps:
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/v1/packages/ash/generic/chs/$DRONE_COMMIT_SHA/chs'
- 'curl --fail --upload-file target/release/chs -H "Authorization: $GITEA_TOKEN" https://git.ashhhleyyy.dev/api/packages/ash/generic/chs/$DRONE_COMMIT_SHA/chs'
environment:
GITEA_TOKEN:
from_secret: GITEA_TOKEN