.gitea/workflows/prod.yaml aktualisiert
This commit is contained in:
parent
25a6e6d2dc
commit
f94be953e6
@ -56,7 +56,7 @@ jobs:
|
|||||||
hugo --minify --gc --baseURL "https://test.cantorgymnasium.de/" --buildDrafts --buildFuture -d test
|
hugo --minify --gc --baseURL "https://test.cantorgymnasium.de/" --buildDrafts --buildFuture -d test
|
||||||
- name: deploy
|
- name: deploy
|
||||||
run: |
|
run: |
|
||||||
cd cd /opt/data/actions/gcg-website-master/test
|
cd /opt/data/actions/gcg-website-master/test
|
||||||
rsync -azr --delete ./ /opt/data/webdata/gcg-website-test/
|
rsync -azr --delete ./ /opt/data/webdata/gcg-website-test/
|
||||||
auto-rebuild:
|
auto-rebuild:
|
||||||
if: gitea.repository == 'gcg/gcg-website' && gitea.event_name == 'schedule'
|
if: gitea.repository == 'gcg/gcg-website' && gitea.event_name == 'schedule'
|
||||||
@ -74,6 +74,6 @@ jobs:
|
|||||||
hugo --minify --gc --baseURL "https://cantorgymnasium.de/"
|
hugo --minify --gc --baseURL "https://cantorgymnasium.de/"
|
||||||
- name: deploy
|
- name: deploy
|
||||||
run: |
|
run: |
|
||||||
cd cd /opt/data/actions/gcg-website-master/public
|
cd /opt/data/actions/gcg-website-master/public
|
||||||
pagefind --source=.
|
pagefind --source=.
|
||||||
rsync -azr --delete ./ /opt/data/webdata/gcg-website/
|
rsync -azr --delete ./ /opt/data/webdata/gcg-website/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user