We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c45935 commit 67c1d46Copy full SHA for 67c1d46
.github/workflows/deploy.yaml
@@ -18,14 +18,24 @@ jobs:
18
- name: Checkout repository
19
uses: actions/checkout@v4
20
21
+ - name: Set up Go
22
+ uses: actions/setup-go@v3
23
+ with:
24
+ go-version: '1.22' # oder deine lokale Go-Version
25
+
26
+ - name: Install Go modules
27
+ run: |
28
+ go mod tidy
29
+ go mod vendor
30
31
- name: Setup Hugo
32
uses: peaceiris/actions-hugo@v2
33
with:
34
hugo-version: '0.121.1' # oder was du lokal nutzt
35
extended: true
36
37
- name: Build site
- run: hugo --minify
38
+ run: hugo --minify --vendor # Build mit vendored Go-Modulen
39
40
- name: Upload artifact
41
uses: actions/upload-pages-artifact@v3
0 commit comments