From 4eb422531ff7cc71eb06d11b942f7fd78925f391 Mon Sep 17 00:00:00 2001 From: John Bowdre <61015723+jbowdre@users.noreply.github.com> Date: Mon, 20 Feb 2023 14:21:01 -0600 Subject: [PATCH] Create daily_build.yml --- .github/workflows/daily_build.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/daily_build.yml diff --git a/.github/workflows/daily_build.yml b/.github/workflows/daily_build.yml new file mode 100644 index 0000000..f8d70f7 --- /dev/null +++ b/.github/workflows/daily_build.yml @@ -0,0 +1,14 @@ +name: Daily build + +on: + schedule: + - cron: "0 13 * * *" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Trigger build webhook on Netlify + run: curl -s -X POST "https://api.netlify.com/build_hooks/${TOKEN}" + env: + TOKEN: ${{ secrets.NETLIFY_CRON_BUILD_HOOK }}