recipe-cms/.github/workflows/dispatch-ci.yml
2024-01-31 10:17:50 +13:00

17 lines
436 B
YAML

name: Dispatch CI
on:
# At 1:05 PM UTC, only on Saturday and Sunday
schedule:
- cron: '5 13 * * 6,0'
jobs:
dispatch-ci:
name: Dispatch CI
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
steps:
- name: Dispatch CI
uses: silverstripe/gha-dispatch-ci@v1