From 7ee0273eeaaff325be9b77a2ba6ae630a2668908 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sun, 24 Sep 2023 13:21:11 +0200 Subject: [PATCH] .gitea/workflows/prod.yaml aktualisiert --- .gitea/workflows/prod.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/prod.yaml b/.gitea/workflows/prod.yaml index 8b302f96..30cb3903 100644 --- a/.gitea/workflows/prod.yaml +++ b/.gitea/workflows/prod.yaml @@ -4,10 +4,8 @@ on: push: branches: - master - issue_comment: - types: [created] schedule: - - cron: '0 0 * * *' + - cron: '22 13 * * *' concurrency: group: ${{ gitea.workflow }}-${{ gitea.ref }} @@ -61,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 == 'schedule' + if: gitea.repository == 'gcg/gcg-website' && gitea.event_name != '' runs-on: act-runner-user timeout-minutes: 5 steps: - - name: pull + - name: ${{ gitea.event_name }} run: | cd /opt/data/actions/gcg-website-master git fetch --all