Skip to content

Commit

Permalink
[Actions] Updated .github/actions/database-deploy/action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Nov 13, 2024
1 parent 8918a33 commit 991b507
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/actions/database-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ inputs:
DB_FOLDER:
description: 'Folder where SQL Files live'
required: true
REDGATE_EMAIL:
description: 'Redgate authentication email'
required: true
REDGATE_PAT:
description: 'Redgate authentication Personal Access Token'
required: true
SQLCOMPARE_VERSION:
description: 'Version of SQL Compare to use'
required: true

runs:
using: "composite"
Expand All @@ -29,14 +38,17 @@ runs:
shell: bash
run: docker pull redgate/sqlcompare:15.3.0


# Need to get these to work
# /email:"${{inputs.REDGATE_EMAIL}}" \
# /token:"${{inputs.REDGATE_PAT}}" \
- name: "Build SQL Diff change"
shell: bash
run: |
docker run \
"-v$GITHUB_WORKSPACE:$GITHUB_WORKSPACE" \
--net=host \
--rm redgate/sqlcompare:15.3.0 \
--rm \
"redgate/sqlcompare:${{inputs.SQLCOMPARE_VERSION}}" \
/IAgreeToTheEULA \
/filter:"$DB_FILTER" \
/options:CaseSensitiveObjectDefinition,ConsiderNextFilegroupInPartitionSchemes,DecryptPost2kEncryptedObjects,DoNotOutputCommentHeader,ForceColumnOrder,IgnoreCertificatesAndCryptoKeys,IgnoreDatabaseAndServerName,IgnoreUserProperties,IgnoreUsersPermissionsAndRoleMemberships,IgnoreWhiteSpace,IgnoreWithElementOrder,IncludeDependencies,NoDeploymentLogging,ThrowOnFileParseFailed,UseCompatibilityLevel \
Expand Down

0 comments on commit 991b507

Please sign in to comment.