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