silverstripe-subsites/.github/workflows/keepalive.yml

18 lines
439 B
YAML
Raw Normal View History

2022-07-05 09:07:52 +02:00
name: Keepalive
on:
2023-08-09 05:07:02 +02:00
# At 7:35 AM UTC, on day 8 of the month
2022-07-05 09:07:52 +02:00
schedule:
2023-08-09 05:07:02 +02:00
- cron: '35 7 8 * *'
workflow_dispatch:
2022-07-05 09:07:52 +02:00
jobs:
keepalive:
name: Keepalive
# Only run cron on the silverstripe account
2022-08-01 00:47:12 +02:00
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
2022-07-05 09:07:52 +02:00
runs-on: ubuntu-latest
steps:
- name: Keepalive
uses: silverstripe/gha-keepalive@v1