silverstripe-subsites/.github/workflows/keepalive.yml
2023-08-14 15:49:23 +12:00

18 lines
439 B
YAML

name: Keepalive
on:
# At 7:35 AM UTC, on day 8 of the month
schedule:
- cron: '35 7 8 * *'
workflow_dispatch:
jobs:
keepalive:
name: Keepalive
# 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: Keepalive
uses: silverstripe/gha-keepalive@v1