silverstripe-blog/.github/workflows/keepalive.yml
2023-08-14 15:43:42 +12:00

18 lines
441 B
YAML

name: Keepalive
on:
# At 2:10 AM UTC, on day 11 of the month
schedule:
- cron: '10 2 11 * *'
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