This commit is contained in:
brookee 2024-02-27 02:18:37 -05:00
parent 8731a22b28
commit cf97941f40

View file

@ -9,10 +9,13 @@ jobs:
steps:
- 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
- name: Run build task
run: hugo --minify --logLevel info
run: ./hugo --minify --logLevel info
- name: Deploy to Server
uses: easingthemes/ssh-deploy@main
env: