Skip to content

Commit

Permalink
fix xperience template name
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Medek authored and Martin Medek committed Oct 18, 2024
1 parent 3b41570 commit 9a418bc
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest

env:
SA_PASSWORD: "Your_password123"
ACCEPT_EULA: "Y"
services:
sqlserver:
image: mcr.microsoft.com/mssql/server:2019-latest
Expand Down Expand Up @@ -67,21 +69,21 @@ jobs:
# run: |
# /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P $SA_PASSWORD -Q "SELECT @@SERVERNAME"

- name: Checkout code
uses: actions/checkout@v3
# - name: Checkout code
# uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json
# - name: Setup .NET
# uses: actions/setup-dotnet@v3
# with:
# global-json-file: global.json

- name: Install dependencies
run: |
dotnet restore --locked-mode
# - name: Install dependencies
# run: |
# dotnet restore --locked-mode

- name: Build Solution
run: |
dotnet build --configuration Release --no-restore
# - name: Build Solution
# run: |
# dotnet build --configuration Release --no-restore

- name: Get kentico template
run: |
Expand All @@ -91,7 +93,7 @@ jobs:
run: |
mkdir xbk
cd xbk
dotnet new kentico-boilerplate -n kentico-boilerplate
echo "y" | dotnet new kentico-xperience-mvc -n kentico-boilerplate
- name: Tool restore
run: |
Expand All @@ -100,7 +102,7 @@ jobs:
- name: Create Kentico database
run: |
cd xbk
dotnet kentico-xperience-dbmanager -- -s "localhost" -d "pwtest" -u sa -p $SA_PASSWORD -a "admin" --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 "<license_file_path>"
- name: Run Kentico Xperience project
run: |
Expand Down

0 comments on commit 9a418bc

Please sign in to comment.