?
Some checks failed
Hugo / build (push) Failing after 0s

This commit is contained in:
brookee 2024-02-27 02:26:50 -05:00
parent 38b9060a3c
commit 81abac103a

View file

@ -9,12 +9,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install rsync
run: apt-get update && apt-get install -y rsync
- name: Grab dependencies
run: |
apt-get update && \
apt-get install -y jq tar wget && \
apt-get install -y jq rsync tar wget && \
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
@ -22,6 +20,9 @@ jobs:
run: ./hugo --minify --logLevel info
- name: Deploy to Server
uses: easingthemes/ssh-deploy@main
run: |
sudo apt-get update
sudo apt-get install -y rsync
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlgoDzvc -i --delete"