.gitea/workflows/prod.yaml aktualisiert
All checks were successful
website-main / prod-build (push) Successful in 32s
website-main / test-build (push) Successful in 26s
website-main / auto-rebuild (push) Successful in 28s

This commit is contained in:
Denys Konovalov 2023-09-24 13:21:11 +02:00
parent 07ca691f12
commit 7ee0273eea

@ -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