.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: push:
branches: branches:
- master - master
issue_comment:
types: [created]
schedule: schedule:
- cron: '0 0 * * *' - cron: '22 13 * * *'
concurrency: concurrency:
group: ${{ gitea.workflow }}-${{ gitea.ref }} group: ${{ gitea.workflow }}-${{ gitea.ref }}
@ -61,11 +59,11 @@ jobs:
cd /opt/data/actions/gcg-website-master/test cd /opt/data/actions/gcg-website-master/test
rsync -azr --delete ./ /opt/data/webdata/gcg-website-test/ rsync -azr --delete ./ /opt/data/webdata/gcg-website-test/
auto-rebuild: 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 runs-on: act-runner-user
timeout-minutes: 5 timeout-minutes: 5
steps: steps:
- name: pull - name: ${{ gitea.event_name }}
run: | run: |
cd /opt/data/actions/gcg-website-master cd /opt/data/actions/gcg-website-master
git fetch --all git fetch --all