autoclean old build results
All checks were successful
website-main / prod-build (push) Successful in 53s
website-main / test-build (push) Successful in 26s
website-main / auto-rebuild (push) Has been skipped

This commit is contained in:
Denys Konovalov 2023-09-23 22:49:52 +02:00
parent 0572ac25c6
commit 1e9bc42517

@ -27,6 +27,7 @@ jobs:
- name: build - name: build
run: | run: |
cd /opt/data/actions/gcg-website-master cd /opt/data/actions/gcg-website-master
rm -rf public
hugo --minify --gc --baseURL "https://cantorgymnasium.de/" hugo --minify --gc --baseURL "https://cantorgymnasium.de/"
- name: deploy - name: deploy
run: | run: |
@ -53,6 +54,7 @@ jobs:
- name: build - name: build
run: | run: |
cd /opt/data/actions/gcg-website-master cd /opt/data/actions/gcg-website-master
rm -rf test
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: |
@ -71,6 +73,7 @@ jobs:
- name: build - name: build
run: | run: |
cd /opt/data/actions/gcg-website-master cd /opt/data/actions/gcg-website-master
rm -rf public
hugo --minify --gc --baseURL "https://cantorgymnasium.de/" hugo --minify --gc --baseURL "https://cantorgymnasium.de/"
- name: deploy - name: deploy
run: | run: |