.gitea/workflows/release.yml aktualisiert
Some checks failed
release / release (push) Failing after 2s
Some checks failed
release / release (push) Failing after 2s
This commit is contained in:
parent
a614083280
commit
4c8541a5ff
@ -22,8 +22,8 @@ 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/$(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 -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
|
||||
|
||||
- name: deploy
|
||||
|
Loading…
x
Reference in New Issue
Block a user