Sync dev with master #240

Merged
GCG.Admin (Automatisiert) merged 107 commits from master into dev 2023-09-23 21:18:21 +02:00
Showing only changes of commit 07ca691f12 - Show all commits

@ -15,13 +15,19 @@ jobs:
runs-on: act-runner-user runs-on: act-runner-user
timeout-minutes: 5 timeout-minutes: 5
steps: steps:
- name: clone - name: pull
uses: actions/checkout@v3 run: |
cd /opt/data/actions/gcg-website-dev
git pull
git reset --hard origin/dev
- name: build - name: build
run: hugo --minify --gc --baseURL "https://dev.cantorgymnasium.de/" --buildDrafts --buildFuture -d dev run: |
cd /opt/data/actions/gcg-website-dev
rm -rf dev
hugo --minify --gc --baseURL "https://dev.cantorgymnasium.de/" --buildDrafts --buildFuture -d dev
- name: deploy - name: deploy
run: | run: |
cd dev cd /opt/data/actions/gcg-website-dev/dev
pagefind_extended --site=. pagefind_extended --site=.
rsync -azr --delete ./ /opt/data/webdata/gcg-website-dev/ rsync -azr --delete ./ /opt/data/webdata/gcg-website-dev/
- name: notification - name: notification