From 23d0032ed78372a29617da984007b35293602196 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sat, 23 Sep 2023 15:45:50 +0200 Subject: [PATCH] .gitea/workflows/prod.yaml aktualisiert --- .gitea/workflows/prod.yaml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/prod.yaml b/.gitea/workflows/prod.yaml index b1caa2ff..395daf2b 100644 --- a/.gitea/workflows/prod.yaml +++ b/.gitea/workflows/prod.yaml @@ -19,8 +19,11 @@ jobs: runs-on: act-runner-user timeout-minutes: 5 steps: - - name: clone - uses: actions/checkout@v3 + - name: pull + run: | + cd /opt/data/actions/gcg-website-master + git fetch --all + git reset --hard origin/master - name: build run: hugo --minify --gc --baseURL "https://cantorgymnasium.de/" - name: deploy @@ -40,8 +43,11 @@ jobs: runs-on: act-runner-user timeout-minutes: 5 steps: - - name: clone - uses: actions/checkout@v3 + - name: pull + run: | + cd /opt/data/actions/gcg-website-master + git fetch --all + git reset --hard origin/master - name: build run: hugo --minify --gc --baseURL "https://test.cantorgymnasium.de/" --buildDrafts --buildFuture -d test - name: deploy @@ -53,8 +59,11 @@ jobs: runs-on: act-runner-user timeout-minutes: 5 steps: - - name: clone - uses: actions/checkout@v3 + - name: pull + run: | + cd /opt/data/actions/gcg-website-master + git fetch --all + git reset --hard origin/master - name: build run: hugo --minify --gc --baseURL "https://cantorgymnasium.de/" - name: deploy