From 796636ee4efebc912069e9094ec9f2bbfba0fb76 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sun, 24 Sep 2023 13:27:01 +0200 Subject: [PATCH] .gitea/workflows/prod.yaml aktualisiert --- .gitea/workflows/prod.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/prod.yaml b/.gitea/workflows/prod.yaml index 30cb3903..115747a0 100644 --- a/.gitea/workflows/prod.yaml +++ b/.gitea/workflows/prod.yaml @@ -5,7 +5,7 @@ on: branches: - master schedule: - - cron: '22 13 * * *' + - cron: '0 0 * * *' concurrency: group: ${{ gitea.workflow }}-${{ gitea.ref }} @@ -13,7 +13,7 @@ concurrency: jobs: prod-build: - if: gitea.repository == 'gcg/gcg-website' && gitea.event_name == 'push' + if: gitea.repository == 'gcg/gcg-website' runs-on: act-runner-user timeout-minutes: 5 steps: @@ -40,7 +40,7 @@ jobs: token: ${{ secrets.TG_TOKEN }} include_commit_info: false test-build: - if: gitea.repository == 'gcg/gcg-website' && gitea.event_name == 'push' + if: gitea.repository == 'gcg/gcg-website' runs-on: act-runner-user timeout-minutes: 5 steps: @@ -59,11 +59,11 @@ jobs: 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' && gitea.event_name != '' + if: gitea.repository == 'gcg/gcg-website' runs-on: act-runner-user timeout-minutes: 5 steps: - - name: ${{ gitea.event_name }} + - name: pull run: | cd /opt/data/actions/gcg-website-master git fetch --all