Compare commits

...

7 Commits

Author SHA1 Message Date
2a809dcede Sync dev with master
All checks were successful
Website Dev / Entwicklungsumgebung (push) Successful in 12s
2024-07-07 11:21:30 +02:00
1b105311c1 .gitea/workflows/dev.yaml aktualisiert
All checks were successful
Website Prod/Test / Produktivumgebung (push) Successful in 11s
Website Prod/Test / Testumgebung (push) Successful in 7s
Website Pull Request / test-build (pull_request) Successful in 20s
2024-07-07 11:21:13 +02:00
f12778bd8a .gitea/workflows/prod.yaml aktualisiert
All checks were successful
Website Prod/Test / Produktivumgebung (push) Successful in 11s
Website Prod/Test / Testumgebung (push) Successful in 6s
2024-07-07 11:20:36 +02:00
95c1caf30e .gitea/workflows/prod.yaml aktualisiert
All checks were successful
Website Prod/Test / prod-build (push) Successful in 14s
Website Prod/Test / test-build (push) Successful in 6s
2024-07-07 11:19:28 +02:00
e29c7c7ac2 Update module github.com/hugomods/icons/vendors/mdi to v0.3.6
All checks were successful
Website Prod/Test / prod-build (push) Successful in 24s
Website Prod/Test / test-build (push) Successful in 10s
2024-07-05 22:03:27 +02:00
4df1ba91b1 .gitea/workflows/pull_request.yml hinzugefügt
All checks were successful
Website Prod/Test / prod-build (push) Successful in 10s
Website Prod/Test / test-build (push) Successful in 7s
2024-07-05 22:02:42 +02:00
2b8ed5e3b7 go.mod aktualisiert
All checks were successful
Website Prod/Test / prod-build (push) Successful in 11s
Website Prod/Test / test-build (push) Successful in 7s
2024-07-05 21:57:12 +02:00
5 changed files with 27 additions and 2 deletions

@ -10,6 +10,7 @@ defaults:
jobs: jobs:
dev-build: dev-build:
name: Entwicklungsumgebung
if: gitea.repository == 'gcg/gcg-website' if: gitea.repository == 'gcg/gcg-website'
runs-on: act-runner-user runs-on: act-runner-user
steps: steps:

@ -12,6 +12,7 @@ defaults:
jobs: jobs:
prod-build: prod-build:
name: Produktivumgebung
if: gitea.repository == 'gcg/gcg-website' if: gitea.repository == 'gcg/gcg-website'
runs-on: act-runner-user runs-on: act-runner-user
steps: steps:
@ -23,7 +24,7 @@ jobs:
run: | run: |
rm -rf public rm -rf public
hugo --minify --gc --baseURL "https://cantorgymnasium.de/" hugo --minify --gc --baseURL "https://cantorgymnasium.de/"
- name: deploy - name: Deploy
run: | run: |
cd public cd public
pagefind_extended --site=. pagefind_extended --site=.
@ -35,6 +36,7 @@ jobs:
chat_id: ${{ secrets.TG_CHAT_ID }} chat_id: ${{ secrets.TG_CHAT_ID }}
token: ${{ secrets.TG_TOKEN }} token: ${{ secrets.TG_TOKEN }}
test-build: test-build:
name: Testumgebung
if: gitea.repository == 'gcg/gcg-website' if: gitea.repository == 'gcg/gcg-website'
runs-on: act-runner-user runs-on: act-runner-user
steps: steps:

@ -0,0 +1,21 @@
name: Website Pull Request
on:
pull_request:
jobs:
test-build:
if: gitea.repository == 'gcg/gcg-website'
runs-on: act-runner-user
steps:
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Build
run: |
hugo --minify --gc --baseURL "https://test.cantorgymnasium.de/" --buildDrafts --buildFuture -d test
- name: Notification
uses: actions/telegram-action@main
if: always()
with:
chat_id: ${{ secrets.TG_CHAT_ID }}
token: ${{ secrets.TG_TOKEN }}

2
go.mod

@ -2,4 +2,4 @@ module git.cantorgymnasium.de/gcg/gcg-website
go 1.19 go 1.19
require github.com/hugomods/icons/vendors/mdi v0.3.2 // indirect require github.com/hugomods/icons/vendors/mdi v0.3.6

1
go.sum

@ -2,3 +2,4 @@ github.com/hugomods/icons v0.6.0 h1:G6RU93okhPPRDh/jqcew9gwkcYpSpg0rCBv4S6yUAFw=
github.com/hugomods/icons v0.6.0/go.mod h1:cIkSvK6W0q6N4U6n9KGz+QfRWQXAW0INd+1P31gPNGg= github.com/hugomods/icons v0.6.0/go.mod h1:cIkSvK6W0q6N4U6n9KGz+QfRWQXAW0INd+1P31gPNGg=
github.com/hugomods/icons/vendors/mdi v0.3.2 h1:59KlTgBNiKGlPXzaQ6zn+VLYstFb4zABKwlHfzL8ADY= github.com/hugomods/icons/vendors/mdi v0.3.2 h1:59KlTgBNiKGlPXzaQ6zn+VLYstFb4zABKwlHfzL8ADY=
github.com/hugomods/icons/vendors/mdi v0.3.2/go.mod h1:yHIDYxNoBV8RCAc4Uordp6rr4GObPrtBAimShBBFdmc= github.com/hugomods/icons/vendors/mdi v0.3.2/go.mod h1:yHIDYxNoBV8RCAc4Uordp6rr4GObPrtBAimShBBFdmc=
github.com/hugomods/icons/vendors/mdi v0.3.6/go.mod h1:XDQZ9k0Xmxy6Xh7idvjUkfb5DhDJmQPHCavlRHymSg8=