Skip to content

johnlokerse/website-healthcheck

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Website Healthcheck Action

This actions checks your website if it's returning status code 200 and checks for specified text on the given page.

An example of website-healthcheck in a GitHub Action:

name: "Check for website health and title text"

on: [push]

jobs:
  health_check_job:
    runs-on: ubuntu-latest
    name: Check for status 200 and title text "lokerse.dev"
    steps:
      - uses: actions/checkout@v2
      - id: test
        uses: johnlokerse/website-healthcheck@v2
        with:
          web-url: "https://www.lokerse.dev"
          scan-for-text: "lokerse.dev"