Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Minor fix grandnode.yml

support020c2507935f
diff --git a/.github/workflows/grandnode.yml b/.github/workflows/grandnode.yml
index dadd0fbd2..d1c0f55eb 100644
--- a/.github/workflows/grandnode.yml
+++ b/.github/workflows/grandnode.yml
@@ -28,7 +28,7 @@ jobs:
- name: Build sln
run: dotnet build "GrandNode.sln"
- name: Build
- run: dotnet build "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} --no-restore -p:SourceRevisionId=${{ GITHUB_SHA }} -p:GitBranch=${GITHUB_REF#refs/heads/}
+ run: dotnet build "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} --no-restore -p:SourceRevisionId=${{ github.sha }} -p:GitBranch=${{ github.ref_name }}
- name: Grand.Business.Authentication Unit Tests
run: dotnet test ./src/Tests/Grand.Business.Authentication.Tests/Grand.Business.Authentication.Tests.csproj
- name: Grand.Business.Catalog Unit Tests
@@ -58,7 +58,7 @@ jobs:
- name: Grand.SharedKernel.Tests Unit Tests
run: dotnet test ./src/Tests/Grand.SharedKernel.Tests/Grand.SharedKernel.Tests.csproj
- name: Publish
- run: dotnet publish "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} --no-build --output "${{ env.AZURE_WEBAPP_PACKAGE_PATH }}" -p:SourceRevisionId=${{ GITHUB_SHA }} -p:GitBranch=${GITHUB_REF#refs/heads/}
+ run: dotnet publish "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} --no-build --output "${{ env.AZURE_WEBAPP_PACKAGE_PATH }}" -p:SourceRevisionId=${{ github.sha }} -p:GitBranch=${{ github.ref_name }}
- name: Deploy to Azure WebApp
uses: azure/webapps-deploy@v2
with: