parent
44a2111101
commit
83a00c58f2
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ jobs:
|
||||||
- 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
|
||||||
- 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
|
||||||
uses: easingthemes/ssh-deploy@main
|
uses: easingthemes/ssh-deploy@main
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Add table
Reference in a new issue