From 2fc40149210bb5de7c3ed206fc2f29656fd43a72 Mon Sep 17 00:00:00 2001 From: Colin Saliceti Date: Mon, 15 Jul 2024 14:16:46 +0100 Subject: [PATCH] WIP --- .github/workflows/database_restore.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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