From fbd5beabeb078db47d96d8ede365dee8fc9ebe44 Mon Sep 17 00:00:00 2001 From: Gillian Minnehan Date: Sun, 12 Jan 2025 21:28:53 -0500 Subject: [PATCH] feat: add deploy workflow ### Summary Scheduled for 10am ET every weekday. ### Test Plan - Manually trigger the workflow to ensure it runs successfully --- .github/workflows/deploy.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..9dc8ffc69 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,22 @@ +name: Site Deployment + +on: + schedule: + # At 2:00pm UTC (10:00am ET) on Monday through Friday + # https://cron.help/#0_14_*_*_1-5 + - cron: "0 14 * * 1-5" + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + run_name: + description: "Name of the run, used to distinguish it from others" + required: false + type: string + default: "" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Deploy hook request + run: curl -X POST ${{ secrets.CLOUDFLARE_DEPLOY_HOOK }} \ No newline at end of file