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