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
|
- name: Add key
|
||||||
run: |
|
run: |
|
||||||
mkdir $HOME/.ssh && \
|
mkdir $HOME/.ssh && \
|
||||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > $HOME/.ssh/id_rsa
|
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.6/hugo_extended_0.123.6_linux-amd64.tar.gz && \
|
||||||
tar -xzvf hugo_0.123.4_linux-amd64.tar.gz && \
|
tar -xzvf hugo_extended_0.123.6_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
|
||||||
- name: Test static page
|
- name: Test static page
|
||||||
|
|
Loading…
Add table
Reference in a new issue