Skip to content

Scheduled Health Check #10

Scheduled Health Check

Scheduled Health Check #10

Workflow file for this run

name: Scheduled Health Check
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # recommended: */30 * * * * - run every 30mins
jobs:
health_check_job:
runs-on: ubuntu-latest
name: Check all sites
steps:
- uses: actions/checkout@v3
- name: Run Health Check
id: health_check
run: bash ./.script/health-check.sh
# - name: Run Notification
# env:
# HEALTH_STATUS: ${{ join(steps.health_check.outputs.*, '\n') }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# id: notifcation
# run: bash ./.script/notification.sh