mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
Update QA Deploy Workflow (#2003)
This commit is contained in:
parent
47b1e5317c
commit
a266772ec3
8
.github/workflows/qa-deploy.yml
vendored
8
.github/workflows/qa-deploy.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user