.gitea/workflows/release.yml aktualisiert
All checks were successful
release / release (push) Successful in 2s
All checks were successful
release / release (push) Successful in 2s
This commit is contained in:
parent
0c699c865b
commit
c65e5b3403
@ -19,7 +19,7 @@ jobs:
|
||||
echo update_available=$(! [[ $NEWEST_HUGO_RELEASE != $CURRENT_HUGO_RELEASE ]]; echo $?) >> $GITHUB_OUTPUT
|
||||
|
||||
- name: update hugo package
|
||||
if: steps.check.update_available == 1
|
||||
if: steps.check.outputs.update_available == 1
|
||||
run: |
|
||||
export NEWEST_HUGO_RELEASE=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases | jq -r '.[0].name' | sed 's/v//g')
|
||||
curl -LO https://github.com/gohugoio/hugo/releases/download/v$(echo $NEWEST_HUGO_RELEASE)/hugo_extended_$(echo $NEWEST_HUGO_RELEASE)_linux-amd64.deb
|
||||
|
Loading…
x
Reference in New Issue
Block a user