0
0

.gitea/workflows/release.yml aktualisiert
Some checks failed
release / release (push) Failing after 3s

This commit is contained in:
Denys Konovalov 2023-12-22 18:13:05 +01:00
parent 9d3876ab4b
commit a614083280

@ -22,7 +22,7 @@ jobs:
if: steps.check.outputs.update_available == 1
run: |
export NEWEST_PAGEFIND_RELEASE=$(curl -s https://api.github.com/repos/CloudCannon/pagefind/releases | jq -r '.[0].name')
curl -LO https://github.com/CloudCannon/pagefind/releases/download/v$(echo $NEWEST_PAGEFIND_RELEASE)/pagefind_extended_$(echo $NEWEST_PAGEFIND_RELEASE)_x86_64-unknown-linux-musl.tar.gz
curl -LO https://github.com/CloudCannon/pagefind/releases/download/$(echo $NEWEST_PAGEFIND_RELEASE)/pagefind_extended_$(echo $NEWEST_PAGEFIND_RELEASE)_x86_64-unknown-linux-musl.tar.gz
tar -xf pagefind_extended_$(echo $NEWEST_PAGEFIND_RELEASE)_x86_64-unknown-linux-musl.tar.gz
curl --user ${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }} --upload-file pagefind_extended https://git.cantorgymnasium.de/api/packages/gcg/generic/hugo/$NEWEST_PAGEFIND_RELEASE/pagefind_extended