0
0

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

This commit is contained in:
Denys Konovalov 2023-12-22 18:14:16 +01:00
parent a614083280
commit 4c8541a5ff

@ -22,8 +22,8 @@ jobs:
if: steps.check.outputs.update_available == 1 if: steps.check.outputs.update_available == 1
run: | run: |
export NEWEST_PAGEFIND_RELEASE=$(curl -s https://api.github.com/repos/CloudCannon/pagefind/releases | jq -r '.[0].name') 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/$(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 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 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
- name: deploy - name: deploy