From 3c1cbb214ff9b91fc748c5f741febc2075d0c321 Mon Sep 17 00:00:00 2001 From: Jeffery <61447509+jeffplays2005@users.noreply.github.com> Date: Sun, 14 Jul 2024 21:56:50 +1200 Subject: [PATCH] 598 Create cron job to deploy frontend (#635) Added cron job to deploy-client-production.yml --- .github/workflows/deploy-client-production.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-client-production.yml b/.github/workflows/deploy-client-production.yml index 38de72f6e..0a04dcd86 100644 --- a/.github/workflows/deploy-client-production.yml +++ b/.github/workflows/deploy-client-production.yml @@ -1,6 +1,10 @@ -name: Deploy Production Build of Client for UASC +name: Deploy Production Build of Client for UASC -on: [workflow_dispatch] +on: + workflow_dispatch: + # schedules this to run every day, at 00:00 UTC + schedule: + - cron: "0 0 * * *" env: NEXT_PUBLIC_FIREBASE_API_KEY: ${{secrets.PROD_FIREBASE_API_KEY}}