From 6d9dddd1dec1e242fcbe3ca662e02601e9d8ba20 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sun, 24 Sep 2023 18:38:17 +0200 Subject: [PATCH] .gitea/workflows/prod.yaml aktualisiert --- .gitea/workflows/prod.yaml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.gitea/workflows/prod.yaml b/.gitea/workflows/prod.yaml index 115747a0..b85dc061 100644 --- a/.gitea/workflows/prod.yaml +++ b/.gitea/workflows/prod.yaml @@ -58,23 +58,3 @@ jobs: run: | cd /opt/data/actions/gcg-website-master/test rsync -azr --delete ./ /opt/data/webdata/gcg-website-test/ - auto-rebuild: - if: gitea.repository == 'gcg/gcg-website' - runs-on: act-runner-user - timeout-minutes: 5 - steps: - - name: pull - run: | - cd /opt/data/actions/gcg-website-master - git fetch --all - git reset --hard origin/master - - name: build - run: | - cd /opt/data/actions/gcg-website-master - rm -rf public - hugo --minify --gc --baseURL "https://cantorgymnasium.de/" - - name: deploy - run: | - cd /opt/data/actions/gcg-website-master/public - pagefind_extended --site=. - rsync -azr --delete ./ /opt/data/webdata/gcg-website/