Change workflow
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 23m59s

This commit is contained in:
2025-06-13 15:47:57 +02:00
parent ee831ae4f8
commit 1058ba5e85

View File

@@ -29,16 +29,14 @@ jobs:
hugo-version: "latest"
extended: true
# Cache the Hugo build output
- name: Cache Hugo build
# Cache resources but not public to prevent infinite loops
- name: Cache Hugo resources
uses: actions/cache@v3
with:
path: |
public
resources/_gen
key: ${{ runner.os }}-hugo-build-${{ hashFiles('content/**', 'layouts/**', 'static/**', 'themes/**', 'config/**') }}
path: resources/_gen
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('content/**', 'layouts/**', 'static/**', 'themes/**', 'config/**') }}
restore-keys: |
${{ runner.os }}-hugo-build-
${{ runner.os }}-hugo-resources-
- name: Build
run: hugo --minify --buildFuture