mirror of
https://github.com/silverstripe/recipe-cms.git
synced 2024-10-22 08:05:52 +02:00
22 lines
496 B
YAML
22 lines
496 B
YAML
name: Keepalive
|
|
|
|
on:
|
|
# At 6:30 AM UTC, on day 19 of the month
|
|
schedule:
|
|
- cron: '30 6 19 * *'
|
|
workflow_dispatch:
|
|
|
|
permissions: {}
|
|
|
|
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
|
|
permissions:
|
|
actions: write
|
|
steps:
|
|
- name: Keepalive
|
|
uses: silverstripe/gha-keepalive@v1
|