parent
2f4722c3f3
commit
44a2111101
1 changed files with 2 additions and 2 deletions
|
@ -7,10 +7,10 @@ jobs:
|
||||||
|
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
- name: Grab dependancies
|
- name: Grab dependancies
|
||||||
run: apt-get update && apt-get install -y jq rsync tar && wget -O hugo.tar.gz $(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.assets[] | select(.name | test("hugo_[^extended].*_Linux-64bit.tar.gz")) | .browser_download_url') && tar -xzvf hugo.tar.gz && chmod +x hugo
|
run: apt-get update && apt-get install -y jq rsync tar && wget -O hugo.tar.gz $(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.assets[] | select(.name | test("hugo_[^extended].*_Linux-64bit.tar.gz")) | .browser_download_url') && tar -xzvf hugo.tar.gz && chmod +x hugo
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Run build task
|
- name: Run build task
|
||||||
run: ../hugo --minify --logLevel info
|
run: ../hugo --minify --logLevel info
|
||||||
- name: Deploy to Server
|
- name: Deploy to Server
|
||||||
|
|
Loading…
Add table
Reference in a new issue