From 580f7bed1dc4e3ca9e8d330cce5938b8654a734b Mon Sep 17 00:00:00 2001 From: Colin Saliceti Date: Mon, 15 Jul 2024 14:27:35 +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 f4462a5c69..56625fe791 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 }} + if: inputs.confirm == 'true' uses: DFE-Digital/github-actions/restore-postgres-backup@master with: storage-account: s189p01captdbbkppdsa