update
This commit is contained in:
parent
8731a22b28
commit
cf97941f40
1 changed files with 5 additions and 2 deletions
|
@ -9,10 +9,13 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Grab dependancies
|
- name: Grab dependancies
|
||||||
run: apt-get update && apt-get install -y rsync hugo
|
run: apt-get update && apt-get install -y rsync tar
|
||||||
|
run: 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')
|
||||||
|
run: tar -xzvf hugo.tar.gz
|
||||||
|
run: chmod +x hugo
|
||||||
- uses: actions/checkout@v3
|
- 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
|
||||||
uses: easingthemes/ssh-deploy@main
|
uses: easingthemes/ssh-deploy@main
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Add table
Reference in a new issue