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

View file

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