Skip to content

Check Website Status #19

Check Website Status

Check Website Status #19

Workflow file for this run

name: Check Website Status
on:
schedule:
- cron: '0 * * * *' # Runs every hour
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Run the script
env:
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
run: node main.js