From fbafc4d6dd47b7cfdd7fbf36f470c5cb3a1567ed Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Wed, 2 Nov 2022 19:48:37 +0000 Subject: [PATCH] fix(ci): send token correctly in header --- .drone.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0b1ac0f..1d5f59c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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