autoclean old build results
This commit is contained in:
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: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user