.gitea/workflows/prod.yaml aktualisiert
This commit is contained in:
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user