From 07fd3151fb1fea74e80ab818d265262be9599824 Mon Sep 17 00:00:00 2001 From: Martin Medek Date: Fri, 18 Oct 2024 10:58:04 +0200 Subject: [PATCH] fix xperience template name --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76949b6..0d85ca9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,12 +29,14 @@ 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 env: - SA_PASSWORD: "Your_password123" + SA_PASSWORD: "$SA_PASSWORD" ACCEPT_EULA: "Y" ports: - 1433:1433 @@ -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: | @@ -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 "" --license-file "" + dotnet kentico-xperience-dbmanager -- -s "localhost" -d "pwtest" -u "sa" -p "$SA_PASSWORD" -a "admin" --recreate-existing-database --hash-string-salt "" --license-file "" - name: Run Kentico Xperience project run: |