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.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Add file
supportffd68d8e9dcb
diff --git a/.github/workflows/grandnode.yml b/.github/workflows/grandnode.ymlnew file mode 100644index 000000000..5625c007b--- /dev/null+++ b/.github/workflows/grandnode.yml@@ -0,0 +1,40 @@+name: Build and deploy .NET Core app to Linux WebApp grandnode+on:+ push:+ branches:+ - master+env:+ AZURE_WEBAPP_NAME: grandnode+ AZURE_WEBAPP_PACKAGE_PATH: src/Web/Grand.Web/publish+ AZURE_WEBAPP_PUBLISH_PROFILE: ${{ secrets.grandnode_81e0 }}+ CONFIGURATION: Release+ DOTNET_CORE_VERSION: 6.0.x+ WORKING_DIRECTORY: src/Web/Grand.Web+jobs:+ build-and-deploy:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v2+ - name: Setup .NET Core+ uses: actions/setup-dotnet@v1+ with:+ dotnet-version: ${{ env.DOTNET_CORE_VERSION }}+ - name: Restore+ run: dotnet restore "${{ env.WORKING_DIRECTORY }}"+ - name: Build+ run: dotnet build "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} --no-restore+ - name: Test+ run: dotnet test "${{ env.WORKING_DIRECTORY }}" --no-build+ - name: Publish+ run: dotnet publish "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} --no-build --output "${{ env.AZURE_WEBAPP_PACKAGE_PATH }}"+ - name: Deploy to Azure WebApp+ uses: azure/webapps-deploy@v2+ with:+ app-name: ${{ env.AZURE_WEBAPP_NAME }}+ package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}+ publish-profile: ${{ env.AZURE_WEBAPP_PUBLISH_PROFILE }}+ - name: Publish Artifacts+ uses: actions/[email protected]+ with:+ name: webapp+ path: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}