Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
saliceti committed Jul 15, 2024
1 parent 898b3b7 commit 2fc4014
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/database_restore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
confirm:
description: Set to true to restore nightly backup to production
required: true
default: 'false'
default: false
type: choice
options:
- 'false'
- 'true'
- false
- true
backup-file:
description: Name of the backup file in Azure storage. e.g. capt_prod_2024-07-15.sql.gz. The default value is today's backup.
type: string
Expand All @@ -33,7 +33,7 @@ jobs:
echo "BACKUP_FILE=$BACKUP_FILE" >> $GITHUB_ENV
- name: Restore postgres
if: inputs.confirm == 'true'
if: inputs.confirm
uses: DFE-Digital/github-actions/restore-postgres-backup@master
with:
storage-account: s189p01captdbbkppdsa
Expand Down

0 comments on commit 2fc4014

Please sign in to comment.