update
Some checks failed
Hugo / build (push) Failing after 29s

This commit is contained in:
brookee 2024-02-27 02:25:00 -05:00
parent aeb28e4703
commit 38b9060a3c

View file

@ -10,14 +10,14 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install rsync
run: sudo apt-get update && sudo apt-get install -y rsync
run: apt-get update && apt-get install -y rsync
- name: Grab dependencies
run: |
sudo apt-get update && \
sudo apt-get install -y jq tar wget && \
apt-get update && \
apt-get install -y jq 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 && \
sudo chmod +x hugo
chmod +x hugo
- name: Run build task
run: ./hugo --minify --logLevel info
- name: Deploy to Server