Use hall monitor to see if any servers are down #13145
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Use hall monitor to see if any servers are down | |
on: | |
workflow_dispatch: | |
schedule: | |
# run once every hour | |
# * is a special character in YAML so you have to quote this string | |
- cron: "0 * * * *" | |
jobs: | |
apps-dev-monitor: | |
runs-on: ubuntu-latest | |
name: Check apps-dev for misinstalled interviews | |
steps: | |
- uses: SuffolkLITLab/ALActions/hall_monitor@main | |
with: | |
SERVER_URL: "https://apps-dev.suffolklitlab.org" | |
SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }} | |
ERROR_EMAILS: massaccess@suffolk.edu | |
ERROR_EMAIL_FROM: no-reply@suffolklitlab.org | |
- run: echo "Finished running monitor for dev" | |
apps-test-monitor: | |
runs-on: ubuntu-latest | |
name: Check apps-test for misinstalled interviews | |
steps: | |
- uses: SuffolkLITLab/ALActions/hall_monitor@main | |
with: | |
SERVER_URL: "https://apps-test.suffolklitlab.org" | |
SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }} | |
ERROR_EMAILS: massaccess@suffolk.edu | |
ERROR_EMAIL_FROM: no-reply@suffolklitlab.org | |
- run: echo "Finished running monitor for test" | |
apps-prod-monitor: | |
runs-on: ubuntu-latest | |
name: Check apps.suffolk for misinstalled interviews | |
steps: | |
- uses: SuffolkLITLab/ALActions/hall_monitor@main | |
with: | |
SERVER_URL: "https://apps.suffolklitlab.org" | |
SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }} | |
ERROR_EMAILS: massaccess@suffolk.edu | |
ERROR_EMAIL_FROM: no-reply@suffolklitlab.org | |
- run: echo "Finished running monitor for prod" | |