added git lfs step to fix images
Some checks failed
Hugo Deploy Pipeline / Build-and-Deploy (push) Has been cancelled

This commit is contained in:
Sam Tate 2024-06-29 14:17:24 +01:00
parent 8a6af95f80
commit 0d6d4a5ad0

View file

@ -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