diff --git a/.github/workflows/database_restore.yml b/.github/workflows/database_restore.yml index 0c60007d11..56625fe791 100644 --- a/.github/workflows/database_restore.yml +++ b/.github/workflows/database_restore.yml @@ -33,7 +33,7 @@ jobs: echo "BACKUP_FILE=$BACKUP_FILE" >> $GITHUB_ENV - name: Restore postgres - if: inputs.backup-file == 'true' + if: inputs.confirm == 'true' uses: DFE-Digital/github-actions/restore-postgres-backup@master with: storage-account: s189p01captdbbkppdsa