From 39db62907f03a812640870f592c18b4178b85ac5 Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Sun, 15 Mar 2020 22:46:49 -0500 Subject: [PATCH] Create check_uptime.yml --- .github/workflows/check_uptime.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/check_uptime.yml 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"