Skip to content

Commit 15fd801

Browse files
committed
update go + workflow
1 parent 599ce70 commit 15fd801

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

.github/workflows/deploy.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: Deploy Hugo site to GitHub Pages
33
on:
44
push:
55
branches:
6-
- documentation # oder "master", je nachdem wie dein Hauptbranch heißt
7-
6+
- documentation
87
permissions:
98
contents: read
109
pages: write
@@ -21,7 +20,7 @@ jobs:
2120
- name: Set up Go
2221
uses: actions/setup-go@v3
2322
with:
24-
go-version: '1.22' # oder deine lokale Go-Version
23+
go-version: '1.22'
2524

2625
- name: Install Go modules
2726
run: |
@@ -31,11 +30,11 @@ jobs:
3130
- name: Setup Hugo
3231
uses: peaceiris/actions-hugo@v2
3332
with:
34-
hugo-version: '0.121.1' # oder was du lokal nutzt
33+
hugo-version: '0.121.1'
3534
extended: true
3635

3736
- name: Build site
38-
run: hugo --minify # Hier kein --vendor, da es nicht notwendig ist
37+
run: hugo --minify
3938

4039
- name: Upload artifact
4140
uses: actions/upload-pages-artifact@v3

go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
module github.com/cybertec-postgresql/cybertec-pg-operator
22

33
go 1.22.5
4-
5-
require github.com/cybertec-postgresql/hugo-geekdoc v0.0.0-20250130133505-d46e0dcc47c7 // indirect

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
github.com/cybertec-postgresql/hugo-geekdoc v0.0.0-20250130133505-d46e0dcc47c7 h1:l2xJB771iUIMN0zU1NKfFVqgnS0bQRFdCkVJhxVX7r4=
2-
github.com/cybertec-postgresql/hugo-geekdoc v0.0.0-20250130133505-d46e0dcc47c7/go.mod h1:y+YYT9rdvbhqlFG8MvkmuP8A8Z2+WkraYEdLghEZLbs=

0 commit comments

Comments
 (0)