Skip to content

Commit

Permalink
added xbk license usage from GHsecret
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Medek authored and Martin Medek committed Oct 23, 2024
1 parent 9a418bc commit 8de03ee
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,24 @@ jobs:
run: |
dotnet tool restore
- name: Create license file
run: |
echo ${{ secrets.XPERIENCE_BY_KENTICO_LICENSE }} > ${{ env.GITHUB_WORKSPACE }}/license.lic
- name: Create Kentico database

run: |
cd xbk
dotnet kentico-xperience-dbmanager -- -s "localhost" -d "pwtest" -u "sa" -p "$SA_PASSWORD" -a "admin" --recreate-existing-database --hash-string-salt "<hash_string_salt>" --license-file "<license_file_path>"
dotnet kentico-xperience-dbmanager -- -s "localhost" -d "pwtest" -u "sa" -p "$SA_PASSWORD" -a "admin" --recreate-existing-database --hash-string-salt "<hash_string_salt>" --license-file "${{ env.GITHUB_WORKSPACE }}/license.lic"
- name: Run Kentico Xperience project
run: |
cd xbk
dotnet run
# TODO how to get licence file
- name: Remove license file
run: |
rm xbk/license.lic
####### The only tests present are now Playwright NUnit tests,
####### which aren't properly integrated into this pipeline
Expand Down

0 comments on commit 8de03ee

Please sign in to comment.