Skip to content

Commit

Permalink
insert license from secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
jiri-malec committed Nov 6, 2024
1 parent a7df988 commit 88168b1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ jobs:
-P ${{ env.DATABASE_PASSWORD }} `
-Q "RESTORE DATABASE [XByK_DancingGoat_Zapier] FROM DISK='/var/opt/mssql/backup/${{ env.DATABASE_BACKUP_FILENAME }}' WITH MOVE 'XByK_DancingGoat_Zapier' TO '/var/opt/mssql/data/XByK_DancingGoat_Zapier.mdf', MOVE 'XByK_DancingGoat_Zapier_log' TO '/var/opt/mssql/data/XByK_DancingGoat_Zapier_log.ldf'"
# - name: Imports license key to DB
# run: |
# sqlcmd `
# -S localhost `
# -d ${{ env.DATABASE_NAME }} `
# -U ${{ env.DATABASE_USER }} `
# -P ${{ env.DATABASE_PASSWORD }} `
# -Q "UPDATE CMS_SettingsKey SET KeyValue='${{ env.XPERIENCE_BY_KENTICO_LICENSE }}' WHERE KeyName='CMSLicenseKey'"
- name: Imports license key to DB
run: |
sqlcmd `
-S localhost `
-d ${{ env.DATABASE_NAME }} `
-U ${{ env.DATABASE_USER }} `
-P ${{ env.DATABASE_PASSWORD }} `
-Q "UPDATE CMS_SettingsKey SET KeyValue='${{ env.XPERIENCE_BY_KENTICO_LICENSE }}' WHERE KeyName='CMSLicenseKey'"
- name: Reset DB consistency for last applied hotfix
run: |
Expand Down

0 comments on commit 88168b1

Please sign in to comment.