Sync dev with master #241
@ -5,7 +5,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '22 13 * * *'
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ gitea.workflow }}-${{ gitea.ref }}
|
group: ${{ gitea.workflow }}-${{ gitea.ref }}
|
||||||
@ -13,7 +13,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prod-build:
|
prod-build:
|
||||||
if: gitea.repository == 'gcg/gcg-website' && gitea.event_name == 'push'
|
if: gitea.repository == 'gcg/gcg-website'
|
||||||
runs-on: act-runner-user
|
runs-on: act-runner-user
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
@ -40,7 +40,7 @@ jobs:
|
|||||||
token: ${{ secrets.TG_TOKEN }}
|
token: ${{ secrets.TG_TOKEN }}
|
||||||
include_commit_info: false
|
include_commit_info: false
|
||||||
test-build:
|
test-build:
|
||||||
if: gitea.repository == 'gcg/gcg-website' && gitea.event_name == 'push'
|
if: gitea.repository == 'gcg/gcg-website'
|
||||||
runs-on: act-runner-user
|
runs-on: act-runner-user
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
@ -59,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 != ''
|
if: gitea.repository == 'gcg/gcg-website'
|
||||||
runs-on: act-runner-user
|
runs-on: act-runner-user
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- name: ${{ gitea.event_name }}
|
- name: pull
|
||||||
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