Bump hugo to extended version and remove redundant key storage
All checks were successful
Hugo / build (push) Successful in 17s

This commit is contained in:
brooke 2024-02-28 03:01:10 +00:00
parent 32b93d9bd2
commit 828dbd1e99

View file

@ -9,16 +9,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Add key
run: |
mkdir $HOME/.ssh && \
echo "${{ secrets.SSH_PRIVATE_KEY }}" > $HOME/.ssh/id_rsa
- name: Grab packages
run: |
apt-get update && \
apt-get install -y jq rsync tar wget && \
wget https://github.com/gohugoio/hugo/releases/download/v0.123.4/hugo_0.123.4_linux-amd64.tar.gz && \
tar -xzvf hugo_0.123.4_linux-amd64.tar.gz && \
wget https://github.com/gohugoio/hugo/releases/download/v0.123.4/hugo_extended_0.123.4_linux-amd64.tar.gz && \
tar -xzvf hugo_extended_0.123.4_linux-amd64.tar.gz && \
chmod +x hugo
- name: Run build task
run: ./hugo --minify --logLevel info