This commit is contained in:
parent
c023006546
commit
58ecb20919
1 changed files with 5 additions and 2 deletions
|
@ -14,10 +14,13 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||||
|
|
||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
wget https://github.com/gohugoio/hugo/releases/download/v0.125.4/hugo_0.125.4_linux-amd64.tar.gz
|
||||||
sudo apt-get -y install hugo
|
tar -xzf hugo_0.125.4_linux-amd64.tar.gz
|
||||||
|
chmod +x hugo
|
||||||
|
mv hugo /usr/local/bin/
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: hugo --minify
|
run: hugo --minify
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue