Skip to content

Commit

Permalink
add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
atiqurx committed Mar 26, 2024
1 parent 342b55b commit 798a567
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/check-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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

0 comments on commit 798a567

Please sign in to comment.