Skip to content

Commit

Permalink
Restore scheduled pre-prod deployment (#706)
Browse files Browse the repository at this point in the history
Signed-off-by: Carl Gieringer <78054+carlgieringer@users.noreply.github.com>
  • Loading branch information
carlgieringer authored Aug 5, 2024
1 parent b41cf24 commit 30b5fbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-preprod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 30b5fbd

Please sign in to comment.