diff --git a/.github/workflows/database_restore.yml b/.github/workflows/database_restore.yml index 56625fe791..4a5547b0b7 100644 --- a/.github/workflows/database_restore.yml +++ b/.github/workflows/database_restore.yml @@ -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 @@ -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