fix missing token
Some checks failed
Alpine / abuild (push) Failing after 17s

This commit is contained in:
Dominic 2024-01-22 15:52:30 +01:00
parent fb973bb209
commit 36b0fcdb83
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
2 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ for file in $(find . -name '*.apk' -type f | sed -e 's,./,,'); do
# remove old package # remove old package
curl \ curl \
--fail \ --fail \
-H "Authorization: token ${{secrets.PACKAGE_TOKEN}}" \ -H "Authorization: token $1" \
-X DELETE \ -X DELETE \
"https://msrd0.dev/api/packages/msrd0/alpine/3.19/forgejo-2174/$file" \ "https://msrd0.dev/api/packages/msrd0/alpine/3.19/forgejo-2174/$file" \
|| true || true
@ -39,7 +39,7 @@ for file in $(find . -name '*.apk' -type f | sed -e 's,./,,'); do
# upload new package # upload new package
curl \ curl \
--fail \ --fail \
-H "Authorization: token ${{secrets.PACKAGE_TOKEN}}" \ -H "Authorization: token $1" \
-T "$file" \ -T "$file" \
"https://msrd0.dev/api/packages/msrd0/alpine/3.19/forgejo-2174" "https://msrd0.dev/api/packages/msrd0/alpine/3.19/forgejo-2174"
done done

View file

@ -11,4 +11,4 @@ jobs:
uses: docker://alpine uses: docker://alpine
with: with:
entrypoint: ash entrypoint: ash
args: -c ./.gitea/workflows/alpine.sh args: -c './.gitea/workflows/alpine.sh ${{secrets.PACKAGE_TOKEN}}'