Skip to content

Website Check

Website Check #7805

name: Website Check
on:
schedule:
- cron: "0 * * * *"
#- cron: "*/5 20-21 * * *"
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Connect Tailscale
uses: tailscale/github-action@v1
with:
# Your Tailscale authentication key, from the admin panel.
authkey: "${{ secrets.TAILSCALE_AUTHKEY }}"
version: "1.30.2"
- name: Run website checker
env:
URLS_LIST: ${{ secrets.URLS_LIST }}
PUSHOVER_APP_TOKEN: ${{ secrets.PUSHOVER_APP_TOKEN }}
PUSHOVER_USER: ${{ secrets.PUSHOVER_USER }}
run: |
#pip3 install python-dotenv==0.20.0
python3 ./checker.py