Skip to content

Alloy Sandbox Healthcheck #881

Alloy Sandbox Healthcheck

Alloy Sandbox Healthcheck #881

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()