added git lfs step to fix images
Some checks failed
Hugo Deploy Pipeline / Build-and-Deploy (push) Has been cancelled
Some checks failed
Hugo Deploy Pipeline / Build-and-Deploy (push) Has been cancelled
This commit is contained in:
parent
8a6af95f80
commit
0d6d4a5ad0
1 changed files with 5 additions and 1 deletions
|
@ -11,8 +11,12 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
||||
- name: Checkout LFS objects
|
||||
run: git lfs checkout
|
||||
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v3
|
||||
|
@ -23,7 +27,7 @@ jobs:
|
|||
uses: GuillaumeFalourd/setup-rsync@v1.2
|
||||
|
||||
- name: Build
|
||||
run: hugo
|
||||
run: hugo --minify
|
||||
|
||||
- name: Install SSH Key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
|
|
Loading…
Reference in a new issue