diff --git a/.github/workflows/check_uptime.yml b/.github/workflows/check_uptime.yml new file mode 100644 index 0000000..c090a49 --- /dev/null +++ b/.github/workflows/check_uptime.yml @@ -0,0 +1,16 @@ +name: check if site is up +on: + schedule: + - cron: '* * * * *' + +jobs: + ping_site: + runs-on: ubuntu-latest + name: Ping the site + steps: + - name: Check the site + id: hello + uses: srt32/uptime@master + with: + url-to-hit: "https://default-kedro-157.waylonwalker.com/" + expected-statuses: "200,301"