Bump hugo to extended version and remove redundant key storage
All checks were successful
Hugo / build (push) Successful in 17s
All checks were successful
Hugo / build (push) Successful in 17s
This commit is contained in:
parent
32b93d9bd2
commit
828dbd1e99
1 changed files with 2 additions and 6 deletions
|
@ -9,16 +9,12 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Add key
|
|
||||||
run: |
|
|
||||||
mkdir $HOME/.ssh && \
|
|
||||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > $HOME/.ssh/id_rsa
|
|
||||||
- name: Grab packages
|
- name: Grab packages
|
||||||
run: |
|
run: |
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y jq rsync tar wget && \
|
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 && \
|
wget https://github.com/gohugoio/hugo/releases/download/v0.123.4/hugo_extended_0.123.4_linux-amd64.tar.gz && \
|
||||||
tar -xzvf hugo_0.123.4_linux-amd64.tar.gz && \
|
tar -xzvf hugo_extended_0.123.4_linux-amd64.tar.gz && \
|
||||||
chmod +x hugo
|
chmod +x hugo
|
||||||
- name: Run build task
|
- name: Run build task
|
||||||
run: ./hugo --minify --logLevel info
|
run: ./hugo --minify --logLevel info
|
||||||
|
|
Loading…
Add table
Reference in a new issue