From 0d6d4a5ad0cd0d148e3c3e53b1cf836f43d3516b Mon Sep 17 00:00:00 2001 From: Sam Tate Date: Sat, 29 Jun 2024 14:17:24 +0100 Subject: [PATCH] added git lfs step to fix images --- .gitea/workflows/hugo-deploy.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/hugo-deploy.yaml b/.gitea/workflows/hugo-deploy.yaml index 51833c5..7144114 100644 --- a/.gitea/workflows/hugo-deploy.yaml +++ b/.gitea/workflows/hugo-deploy.yaml @@ -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