Alloy Sandbox Healthcheck #1038
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: "Alloy Sandbox Healthcheck" | |
on: | |
schedule: | |
- cron: '0 0 * * *' # every day at midnight | |
jobs: | |
health_check_job: | |
runs-on: ubuntu-latest | |
name: Check for status 200 and title text "Mock website hosting Alloy" | |
steps: | |
- uses: actions/checkout@v2 | |
- id: test | |
uses: johnlokerse/website-healthcheck@v2 | |
with: | |
web-url: "https://alloyio.com" | |
scan-for-text: "Mock website hosting Alloy" | |
- uses: craftech-io/slack-action@v1 | |
with: | |
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} | |
status: failure | |
if: failure() |