Skip to content

Commit

Permalink
turn off preprod restore (#1755)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrwarren authored Dec 3, 2024
1 parent f775ba8 commit ca71d5f
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/scheduled-restore-anon-preprod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,34 @@ permissions:
statuses: none

jobs:
backup_production:
name: backup production
uses: ./.github/workflows/_run-task.yml
with:
workspace: production02
account_name: production
task_name: "backup"
timeout: "700"
secrets: inherit
# backup_production:
# name: backup production
# uses: ./.github/workflows/_run-task.yml
# with:
# workspace: production02
# account_name: production
# task_name: "backup"
# timeout: "700"
# secrets: inherit

restore_to_preproduction:
name: restore to preproduction
uses: ./.github/workflows/_run-task.yml
needs:
- backup_production
with:
workspace: preproduction
account_name: preproduction
task_name: "restore_from_production"
timeout: "3600"
secrets: inherit
# restore_to_preproduction:
# name: restore to preproduction
# uses: ./.github/workflows/_run-task.yml
# needs:
# - backup_production
# with:
# workspace: preproduction
# account_name: preproduction
# task_name: "restore_from_production"
# timeout: "3600"
# secrets: inherit

slack_notify_failure:
name: notify of failure
uses: ./.github/workflows/_slack-notification.yml
if: ${{ failure() }}
needs:
- restore_to_preproduction
# needs:
# - backup_production
with:
success: no
branch: main
Expand Down

0 comments on commit ca71d5f

Please sign in to comment.