This commit is contained in:
parent
18877e1501
commit
b4815fe487
1 changed files with 4 additions and 4 deletions
|
@ -12,14 +12,14 @@ jobs:
|
|||
- name: Add key
|
||||
run: |
|
||||
mkdir $HOME/.ssh && \
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > $HOME/.ssh/id_rsa
|
||||
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 && \
|
||||
chmod +x hugo
|
||||
wget https://github.com/gohugoio/hugo/releases/download/v0.123.6/hugo_extended_0.123.6_linux-amd64.tar.gz && \
|
||||
tar -xzvf hugo_extended_0.123.6_linux-amd64.tar.gz && \
|
||||
chmod +x hugo
|
||||
- name: Run build task
|
||||
run: ./hugo --minify --logLevel info
|
||||
- name: Test static page
|
||||
|
|
Loading…
Add table
Reference in a new issue