From 1e9bc42517c38c02fb18ed917032af590612c738 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sat, 23 Sep 2023 22:49:52 +0200 Subject: [PATCH] autoclean old build results --- .gitea/workflows/prod.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/prod.yaml b/.gitea/workflows/prod.yaml index e3eb27d9..8b302f96 100644 --- a/.gitea/workflows/prod.yaml +++ b/.gitea/workflows/prod.yaml @@ -27,6 +27,7 @@ jobs: - name: build run: | cd /opt/data/actions/gcg-website-master + rm -rf public hugo --minify --gc --baseURL "https://cantorgymnasium.de/" - name: deploy run: | @@ -53,6 +54,7 @@ jobs: - name: build run: | cd /opt/data/actions/gcg-website-master + rm -rf test hugo --minify --gc --baseURL "https://test.cantorgymnasium.de/" --buildDrafts --buildFuture -d test - name: deploy run: | @@ -71,6 +73,7 @@ jobs: - name: build run: | cd /opt/data/actions/gcg-website-master + rm -rf public hugo --minify --gc --baseURL "https://cantorgymnasium.de/" - name: deploy run: |