From 30b5fbd220fa934a39dec7cff23ddb7445597e9d Mon Sep 17 00:00:00 2001 From: Carl Gieringer <78054+carlgieringer@users.noreply.github.com> Date: Mon, 5 Aug 2024 00:26:42 -0700 Subject: [PATCH] Restore scheduled pre-prod deployment (#706) Signed-off-by: Carl Gieringer <78054+carlgieringer@users.noreply.github.com> --- .github/workflows/deploy-preprod.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-preprod.yml b/.github/workflows/deploy-preprod.yml index c8124b25..d068939c 100644 --- a/.github/workflows/deploy-preprod.yml +++ b/.github/workflows/deploy-preprod.yml @@ -23,8 +23,8 @@ jobs: deployment: # Only deploy if: # - CI was based on a successful push or pull_request (to master) or - # - if it's a manual trigger. - if: ${{ (github.event.workflow_run.event == 'push' || github.event.workflow_run.event == 'pull_request') && github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }} + # - if it's a manual trigger or a scheduled trigger + if: ${{ (github.event.workflow_run.event == 'push' || github.event.workflow_run.event == 'pull_request') && github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }} runs-on: ubuntu-latest environment: preprod steps: