Compare commits

..

No commits in common. "2a809dcede60136fd868138a0b160de5cfaa0892" and "dba58d9a83ef9638db52da9656ca5f7638a0450d" have entirely different histories.

5 changed files with 2 additions and 27 deletions

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

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

@ -1,21 +0,0 @@
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
require github.com/hugomods/icons/vendors/mdi v0.3.6
require github.com/hugomods/icons/vendors/mdi v0.3.2 // indirect

1
go.sum

@ -2,4 +2,3 @@ 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/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.6/go.mod h1:XDQZ9k0Xmxy6Xh7idvjUkfb5DhDJmQPHCavlRHymSg8=