From a266772ec3a5da94d5c3ddde2d92bfaed9e86afa Mon Sep 17 00:00:00 2001 From: Vince Grassia <593223+vgrassia@users.noreply.github.com> Date: Wed, 18 May 2022 08:43:36 -0400 Subject: [PATCH] Update QA Deploy Workflow (#2003) --- .github/workflows/qa-deploy.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/qa-deploy.yml b/.github/workflows/qa-deploy.yml index 6103372b6..02d68b6fe 100644 --- a/.github/workflows/qa-deploy.yml +++ b/.github/workflows/qa-deploy.yml @@ -50,13 +50,11 @@ jobs: MSSQL_HOST: ${{ steps.retrieve-secrets.outputs.mssql-server-host }} MSSQL_USER: ${{ steps.retrieve-secrets.outputs.mssql-admin-login }} MSSQL_PASS: ${{ steps.retrieve-secrets.outputs.mssql-admin-login-password }} - working-directory: ./util/Migrator/DbScripts + MSSQL_DATABASE: vault + MSSQL_MIGRATIONS_DIRECTORY: util/Migrator/DbScripts run: | echo "Running database migrations..." - for f in `ls -v ./*.sql`; do - echo "Executing file: ${f}..." - sqlcmd -S $MSSQL_HOST -d vault -U $MSSQL_USER -P $MSSQL_PASS -I -i $f - done; + $GITHUB_WORKSPACE/dev/helpers/mssql/run_migrations.sh -p deploy: