From 141109d2b6c9512f455b4bea1c3de52d2833ef52 Mon Sep 17 00:00:00 2001 From: Vuyisile-Vuyi Date: Wed, 15 Jan 2025 14:28:37 +0200 Subject: [PATCH 01/12] Update eshoponweb-cicd.yml --- .github/workflows/eshoponweb-cicd.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/eshoponweb-cicd.yml b/.github/workflows/eshoponweb-cicd.yml index dbe93de6..bd546d14 100644 --- a/.github/workflows/eshoponweb-cicd.yml +++ b/.github/workflows/eshoponweb-cicd.yml @@ -1,15 +1,17 @@ name: eShopOnWeb Build and Test #Triggers (uncomment line below to use it) -#on: [push, workflow_dispatch] +on: workflow_dispatch #Environment variables https://docs.github.com/en/actions/learn-github-actions/environment-variables env: - RESOURCE-GROUP: rg-eshoponweb-NAME + RESOURCE-GROUP: rg-eshoponweb-westeurope LOCATION: westeurope TEMPLATE-FILE: infra/webapp.bicep - SUBSCRIPTION-ID: YOUR-SUBS-ID - WEBAPP-NAME: eshoponweb-webapp-NAME + echo $SUBSCRIPTION_ID +534f67f5-645c-45c4-825b-6e228e272a74 + + WEBAPP-NAME: devops-webapp-westeurope-411724194 jobs: From d2984180c82dcbc2aecd9d36255921f930501a3b Mon Sep 17 00:00:00 2001 From: Vuyisile-Vuyi Date: Wed, 15 Jan 2025 14:29:52 +0200 Subject: [PATCH 02/12] Update webapp.bicep --- infra/webapp.bicep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/webapp.bicep b/infra/webapp.bicep index 9e64fbac..b85e27b4 100644 --- a/infra/webapp.bicep +++ b/infra/webapp.bicep @@ -1,5 +1,5 @@ param webAppName string = uniqueString(resourceGroup().id) // Generate unique String for web app name -param sku string = 'B1' // The SKU of App Service Plan +param sku string = 'S1' // The SKU of App Service Plan param location string = resourceGroup().location var appServicePlanName = toLower('AppServicePlan-${webAppName}') From 2633652b866f9969a737887b2193e794ac4691fc Mon Sep 17 00:00:00 2001 From: Vuyisile-Vuyi Date: Wed, 15 Jan 2025 14:45:38 +0200 Subject: [PATCH 03/12] Update eshoponweb-cicd.yml --- .github/workflows/eshoponweb-cicd.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/eshoponweb-cicd.yml b/.github/workflows/eshoponweb-cicd.yml index bd546d14..8f486860 100644 --- a/.github/workflows/eshoponweb-cicd.yml +++ b/.github/workflows/eshoponweb-cicd.yml @@ -5,13 +5,14 @@ on: workflow_dispatch #Environment variables https://docs.github.com/en/actions/learn-github-actions/environment-variables env: - RESOURCE-GROUP: rg-eshoponweb-westeurope + RESOURCE-GROUP: rg-eshoponweb-eastus LOCATION: westeurope TEMPLATE-FILE: infra/webapp.bicep echo $SUBSCRIPTION_ID 534f67f5-645c-45c4-825b-6e228e272a74 - WEBAPP-NAME: devops-webapp-westeurope-411724194 + WEBAPP-NAME: devops-webapp-eastus-3038028561 + jobs: From c6bc50f0211b2b49bf79178c514da898aa64e667 Mon Sep 17 00:00:00 2001 From: Vuyisile-Vuyi Date: Wed, 15 Jan 2025 14:51:06 +0200 Subject: [PATCH 04/12] Update eshoponweb-cicd.yml --- .github/workflows/eshoponweb-cicd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/eshoponweb-cicd.yml b/.github/workflows/eshoponweb-cicd.yml index 8f486860..8794beff 100644 --- a/.github/workflows/eshoponweb-cicd.yml +++ b/.github/workflows/eshoponweb-cicd.yml @@ -11,7 +11,7 @@ env: echo $SUBSCRIPTION_ID 534f67f5-645c-45c4-825b-6e228e272a74 - WEBAPP-NAME: devops-webapp-eastus-3038028561 + WEBAPP-NAME: devops-webapp-westeurope-411724194 From e01b8b75879adfd215b115f6d0f49433a6f9fdeb Mon Sep 17 00:00:00 2001 From: Vuyisile-Vuyi Date: Wed, 15 Jan 2025 14:54:11 +0200 Subject: [PATCH 05/12] Update eshoponweb-cicd.yml --- .github/workflows/eshoponweb-cicd.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/eshoponweb-cicd.yml b/.github/workflows/eshoponweb-cicd.yml index 8794beff..a96d26ea 100644 --- a/.github/workflows/eshoponweb-cicd.yml +++ b/.github/workflows/eshoponweb-cicd.yml @@ -8,8 +8,7 @@ env: RESOURCE-GROUP: rg-eshoponweb-eastus LOCATION: westeurope TEMPLATE-FILE: infra/webapp.bicep - echo $SUBSCRIPTION_ID -534f67f5-645c-45c4-825b-6e228e272a74 + echo $SUBSCRIPTION_ID 534f67f5-645c-45c4-825b-6e228e272a74 WEBAPP-NAME: devops-webapp-westeurope-411724194 From 308d7871c4e434bf6115bea806971113ca59982f Mon Sep 17 00:00:00 2001 From: Vuyisile-Vuyi Date: Wed, 15 Jan 2025 14:56:32 +0200 Subject: [PATCH 06/12] Update eshoponweb-cicd.yml --- .github/workflows/eshoponweb-cicd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/eshoponweb-cicd.yml b/.github/workflows/eshoponweb-cicd.yml index a96d26ea..5b49c975 100644 --- a/.github/workflows/eshoponweb-cicd.yml +++ b/.github/workflows/eshoponweb-cicd.yml @@ -5,7 +5,7 @@ on: workflow_dispatch #Environment variables https://docs.github.com/en/actions/learn-github-actions/environment-variables env: - RESOURCE-GROUP: rg-eshoponweb-eastus + RESOURCE-GROUP: rg-eshoponweb-westeurope LOCATION: westeurope TEMPLATE-FILE: infra/webapp.bicep echo $SUBSCRIPTION_ID 534f67f5-645c-45c4-825b-6e228e272a74 From 99c072b14e330036b8c38f1ccbbc0315adb4b9db Mon Sep 17 00:00:00 2001 From: Vuyisile-Vuyi Date: Wed, 15 Jan 2025 15:00:49 +0200 Subject: [PATCH 07/12] Update eshoponweb-cicd.yml --- .github/workflows/eshoponweb-cicd.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/eshoponweb-cicd.yml b/.github/workflows/eshoponweb-cicd.yml index 5b49c975..ef31ad43 100644 --- a/.github/workflows/eshoponweb-cicd.yml +++ b/.github/workflows/eshoponweb-cicd.yml @@ -8,12 +8,9 @@ env: RESOURCE-GROUP: rg-eshoponweb-westeurope LOCATION: westeurope TEMPLATE-FILE: infra/webapp.bicep - echo $SUBSCRIPTION_ID 534f67f5-645c-45c4-825b-6e228e272a74 - + echo $SUBSCRIPTION_ID 534f67f5-645c-45c4-825b-6e228e272a74 WEBAPP-NAME: devops-webapp-westeurope-411724194 - - jobs: #Build, test and publish .net web project in repository buildandtest: From 7315a9b665c074d92e060ab8f7d5f8f043a17672 Mon Sep 17 00:00:00 2001 From: Vuyisile-Vuyi Date: Wed, 15 Jan 2025 15:17:27 +0200 Subject: [PATCH 08/12] Update eshoponweb-cicd.yml --- .github/workflows/eshoponweb-cicd.yml | 175 +++++++++++++------------- 1 file changed, 90 insertions(+), 85 deletions(-) diff --git a/.github/workflows/eshoponweb-cicd.yml b/.github/workflows/eshoponweb-cicd.yml index ef31ad43..2b806beb 100644 --- a/.github/workflows/eshoponweb-cicd.yml +++ b/.github/workflows/eshoponweb-cicd.yml @@ -1,104 +1,109 @@ name: eShopOnWeb Build and Test -#Triggers (uncomment line below to use it) -on: workflow_dispatch +# Triggers (uncomment line below to use it) +on: + workflow_dispatch -#Environment variables https://docs.github.com/en/actions/learn-github-actions/environment-variables +# Environment variables env: - RESOURCE-GROUP: rg-eshoponweb-westeurope + RESOURCE_GROUP: rg-eshoponweb-westeurope LOCATION: westeurope - TEMPLATE-FILE: infra/webapp.bicep - echo $SUBSCRIPTION_ID 534f67f5-645c-45c4-825b-6e228e272a74 - WEBAPP-NAME: devops-webapp-westeurope-411724194 + TEMPLATE_FILE: infra/webapp.bicep + SUBSCRIPTION_ID: 534f67f5-645c-45c4-825b-6e228e272a74 + WEBAPP_NAME: devops-webapp-westeurope-411724194 jobs: - #Build, test and publish .net web project in repository + # Build, test, and publish .NET web project in repository buildandtest: runs-on: ubuntu-latest steps: - #checkout the repository - - uses: actions/checkout@v4 - #prepare runner for desired .net version SDK - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: '8.0.x' - dotnet-quality: 'preview' - #Build/Test/Publish the .net project - - name: Build with dotnet - run: dotnet build ./eShopOnWeb.sln --configuration Release - - name: Test with dotnet - run: dotnet test ./eShopOnWeb.sln --configuration Release - - name: dotnet publish - run: | - dotnet publish ./src/Web/Web.csproj -c Release -o ${{env.DOTNET_ROOT}}/myapp - cd ${{env.DOTNET_ROOT}}/myapp - zip -r ../app.zip . - # upload the published website code artifacts - - name: Upload artifact for deployment job - uses: actions/upload-artifact@v4 - with: - name: .net-app - path: ${{env.DOTNET_ROOT}}/app.zip - - # upload the bicep template as artifacts for next job - - name: Upload artifact for deployment job - uses: actions/upload-artifact@v4 - with: - name: bicep-template - path: ${{ env.TEMPLATE-FILE }} - - # Use Bicep to deploy infrastructure + Publish webapp + # Checkout the repository + - uses: actions/checkout@v4 + + # Prepare runner for desired .NET version SDK + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '8.0.x' + dotnet-quality: 'preview' + + # Build/Test/Publish the .NET project + - name: Build with dotnet + run: dotnet build ./eShopOnWeb.sln --configuration Release + + - name: Test with dotnet + run: dotnet test ./eShopOnWeb.sln --configuration Release + + - name: dotnet publish + run: | + dotnet publish ./src/Web/Web.csproj -c Release -o ${{ env.DOTNET_ROOT }}/myapp + cd ${{ env.DOTNET_ROOT }}/myapp + zip -r ../app.zip . + + # Upload the published website code artifacts + - name: Upload .NET app artifact + uses: actions/upload-artifact@v4 + with: + name: dotnet-app + path: ${{ env.DOTNET_ROOT }}/app.zip + + # Upload the Bicep template as an artifact for the next job + - name: Upload Bicep template artifact + uses: actions/upload-artifact@v4 + with: + name: bicep-template + path: ${{ env.TEMPLATE_FILE }} + + # Use Bicep to deploy infrastructure + publish web app deploy: runs-on: ubuntu-latest needs: buildandtest environment: name: 'Development' steps: - - #Download the publish files created in previous job - - name: Download artifact from build job - uses: actions/download-artifact@v4 - with: - name: .net-app - path: .net-app - - #Download the bicep templates from previous job - - name: Download artifact from build job - uses: actions/download-artifact@v4 - with: - name: bicep-template - path: bicep-template - - #Login in your azure subscription using a service principal (credentials stored as GitHub Secret in repo) - - name: Azure Login - uses: azure/login@v2 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} - - # Deploy Azure WebApp using Bicep file - - name: deploy - uses: azure/arm-deploy@v2 - with: - subscriptionId: ${{ env.SUBSCRIPTION-ID }} - resourceGroupName: ${{ env.RESOURCE-GROUP }} - template: bicep-template/webapp.bicep - parameters: 'webAppName=${{ env.WEBAPP-NAME }} location=${{ env.LOCATION }}' - failOnStdErr: false - - # Publish website to Azure App Service (WebApp) - # Step disabled due to issue where the site sometimes can't be found: https://github.com/microsoft/pipelines-appservice-lib/issues/56. Instead deploy using CLI - - name: Publish Website to WebApp - if: false #Disable step due to comment above - uses: Azure/webapps-deploy@v3 - with: - type: ZIP - app-name: ${{ env.WEBAPP-NAME }} - package: .net-app/app.zip + # Download the published files created in the previous job + - name: Download .NET app artifact + uses: actions/download-artifact@v4 + with: + name: dotnet-app + path: ./dotnet-app + + # Download the Bicep template from the previous job + - name: Download Bicep template artifact + uses: actions/download-artifact@v4 + with: + name: bicep-template + path: ./bicep-template + + # Login to Azure subscription using a service principal + - name: Azure Login + uses: azure/login@v2 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} + + # Deploy Azure WebApp using the Bicep file + - name: Deploy Azure WebApp using Bicep + uses: azure/arm-deploy@v2 + with: + subscriptionId: ${{ env.SUBSCRIPTION_ID }} + resourceGroupName: ${{ env.RESOURCE_GROUP }} + template: ./bicep-template/webapp.bicep + parameters: | + webAppName=${{ env.WEBAPP_NAME }} + location=${{ env.LOCATION }} + failOnStdErr: false + + # Publish website to Azure App Service using Azure CLI + - name: Publish Website to WebApp + uses: azure/cli@v2 + with: + azcliversion: latest + scriptType: bash + inlineScript: | + az webapp deploy --resource-group ${{ env.RESOURCE_GROUP }} \ + --name ${{ env.WEBAPP_NAME }} \ + --src-path ./dotnet-app/app.zip \ + --type zip - # Publish website to Azure App Service using CLI (WebApp) - - name: Publish Website to WebApp - uses: Azure/cli@v2 - with: inlineScript: | az webapp deploy --name ${{ env.WEBAPP-NAME }} --resource-group ${{ env.RESOURCE-GROUP }} --src-path .net-app/app.zip --type zip From 26d0434cd455b7aa009a1e39e166e1e615b20545 Mon Sep 17 00:00:00 2001 From: Vuyisile-Vuyi Date: Wed, 15 Jan 2025 15:22:30 +0200 Subject: [PATCH 09/12] Update eshoponweb-cicd.yml --- .github/workflows/eshoponweb-cicd.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/eshoponweb-cicd.yml b/.github/workflows/eshoponweb-cicd.yml index 2b806beb..728740ee 100644 --- a/.github/workflows/eshoponweb-cicd.yml +++ b/.github/workflows/eshoponweb-cicd.yml @@ -1,8 +1,15 @@ name: eShopOnWeb Build and Test # Triggers (uncomment line below to use it) -on: - workflow_dispatch +on: + push: + branches: + - main # Trigger on pushes to the main branch + pull_request: + branches: + - main # Trigger on pull requests targeting the main branch + workflow_dispatch: # Keep manual trigger + # Environment variables env: From 4ec1dd4a2405ea42b28d1649dce4e3bffbe9b489 Mon Sep 17 00:00:00 2001 From: Vuyisile-Vuyi Date: Wed, 15 Jan 2025 15:24:26 +0200 Subject: [PATCH 10/12] Update eshoponweb-cicd.yml --- .github/workflows/eshoponweb-cicd.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/eshoponweb-cicd.yml b/.github/workflows/eshoponweb-cicd.yml index 728740ee..933aca94 100644 --- a/.github/workflows/eshoponweb-cicd.yml +++ b/.github/workflows/eshoponweb-cicd.yml @@ -2,13 +2,8 @@ name: eShopOnWeb Build and Test # Triggers (uncomment line below to use it) on: - push: - branches: - - main # Trigger on pushes to the main branch - pull_request: - branches: - - main # Trigger on pull requests targeting the main branch - workflow_dispatch: # Keep manual trigger + workflow_dispatch: + # Environment variables From 93ff8378f14c7511b97cda4c6bcc20162c6ce3dc Mon Sep 17 00:00:00 2001 From: Vuyisile-Vuyi Date: Wed, 15 Jan 2025 15:30:07 +0200 Subject: [PATCH 11/12] Update eshoponweb-cicd.yml --- .github/workflows/eshoponweb-cicd.yml | 174 ++++++++++++-------------- 1 file changed, 81 insertions(+), 93 deletions(-) diff --git a/.github/workflows/eshoponweb-cicd.yml b/.github/workflows/eshoponweb-cicd.yml index 933aca94..0dc808a1 100644 --- a/.github/workflows/eshoponweb-cicd.yml +++ b/.github/workflows/eshoponweb-cicd.yml @@ -1,111 +1,99 @@ -name: eShopOnWeb Build and Test +#Triggers (uncomment line below to use it) +on: workflow_dispatch -# Triggers (uncomment line below to use it) -on: - workflow_dispatch: - - - -# Environment variables +#Environment variables https://docs.github.com/en/actions/learn-github-actions/environment-variables env: RESOURCE_GROUP: rg-eshoponweb-westeurope LOCATION: westeurope TEMPLATE_FILE: infra/webapp.bicep SUBSCRIPTION_ID: 534f67f5-645c-45c4-825b-6e228e272a74 WEBAPP_NAME: devops-webapp-westeurope-411724194 - jobs: - # Build, test, and publish .NET web project in repository + #Build, test and publish .net web project in repository buildandtest: runs-on: ubuntu-latest steps: - # Checkout the repository - - uses: actions/checkout@v4 - - # Prepare runner for desired .NET version SDK - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: '8.0.x' - dotnet-quality: 'preview' - - # Build/Test/Publish the .NET project - - name: Build with dotnet - run: dotnet build ./eShopOnWeb.sln --configuration Release - - - name: Test with dotnet - run: dotnet test ./eShopOnWeb.sln --configuration Release - - - name: dotnet publish - run: | - dotnet publish ./src/Web/Web.csproj -c Release -o ${{ env.DOTNET_ROOT }}/myapp - cd ${{ env.DOTNET_ROOT }}/myapp - zip -r ../app.zip . - - # Upload the published website code artifacts - - name: Upload .NET app artifact - uses: actions/upload-artifact@v4 - with: - name: dotnet-app - path: ${{ env.DOTNET_ROOT }}/app.zip - - # Upload the Bicep template as an artifact for the next job - - name: Upload Bicep template artifact - uses: actions/upload-artifact@v4 - with: - name: bicep-template - path: ${{ env.TEMPLATE_FILE }} - - # Use Bicep to deploy infrastructure + publish web app + #checkout the repository + - uses: actions/checkout@v4 + #prepare runner for desired .net version SDK + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '8.0.x' + dotnet-quality: 'preview' + #Build/Test/Publish the .net project + - name: Build with dotnet + run: dotnet build ./eShopOnWeb.sln --configuration Release + - name: Test with dotnet + run: dotnet test ./eShopOnWeb.sln --configuration Release + - name: dotnet publish + run: | + dotnet publish ./src/Web/Web.csproj -c Release -o ${{env.DOTNET_ROOT}}/myapp + cd ${{env.DOTNET_ROOT}}/myapp + zip -r ../app.zip . + # upload the published website code artifacts + - name: Upload artifact for deployment job + uses: actions/upload-artifact@v4 + with: + name: .net-app + path: ${{env.DOTNET_ROOT}}/app.zip + + # upload the bicep template as artifacts for next job + - name: Upload artifact for deployment job + uses: actions/upload-artifact@v4 + with: + name: bicep-template + path: ${{ env.TEMPLATE-FILE }} + + # Use Bicep to deploy infrastructure + Publish webapp deploy: runs-on: ubuntu-latest needs: buildandtest environment: name: 'Development' steps: - # Download the published files created in the previous job - - name: Download .NET app artifact - uses: actions/download-artifact@v4 - with: - name: dotnet-app - path: ./dotnet-app - - # Download the Bicep template from the previous job - - name: Download Bicep template artifact - uses: actions/download-artifact@v4 - with: - name: bicep-template - path: ./bicep-template - - # Login to Azure subscription using a service principal - - name: Azure Login - uses: azure/login@v2 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} - - # Deploy Azure WebApp using the Bicep file - - name: Deploy Azure WebApp using Bicep - uses: azure/arm-deploy@v2 - with: - subscriptionId: ${{ env.SUBSCRIPTION_ID }} - resourceGroupName: ${{ env.RESOURCE_GROUP }} - template: ./bicep-template/webapp.bicep - parameters: | - webAppName=${{ env.WEBAPP_NAME }} - location=${{ env.LOCATION }} - failOnStdErr: false - - # Publish website to Azure App Service using Azure CLI - - name: Publish Website to WebApp - uses: azure/cli@v2 - with: - azcliversion: latest - scriptType: bash - inlineScript: | - az webapp deploy --resource-group ${{ env.RESOURCE_GROUP }} \ - --name ${{ env.WEBAPP_NAME }} \ - --src-path ./dotnet-app/app.zip \ - --type zip + + #Download the publish files created in previous job + - name: Download artifact from build job + uses: actions/download-artifact@v4 + with: + name: .net-app + path: .net-app + + #Download the bicep templates from previous job + - name: Download artifact from build job + uses: actions/download-artifact@v4 + with: + name: bicep-template + path: bicep-template + + #Login in your azure subscription using a service principal (credentials stored as GitHub Secret in repo) + - name: Azure Login + uses: azure/login@v2 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} + + # Deploy Azure WebApp using Bicep file + - name: deploy + uses: azure/arm-deploy@v2 + with: + subscriptionId: ${{ env.SUBSCRIPTION-ID }} + resourceGroupName: ${{ env.RESOURCE-GROUP }} + template: bicep-template/webapp.bicep + parameters: 'webAppName=${{ env.WEBAPP-NAME }} location=${{ env.LOCATION }}' + failOnStdErr: false + + # Publish website to Azure App Service (WebApp) + # Step disabled due to issue where the site sometimes can't be found: https://github.com/microsoft/pipelines-appservice-lib/issues/56. Instead deploy using CLI + - name: Publish Website to WebApp + if: false #Disable step due to comment above + uses: Azure/webapps-deploy@v3 + with: + type: ZIP + app-name: ${{ env.WEBAPP-NAME }} + package: .net-app/app.zip - inlineScript: | - az webapp deploy --name ${{ env.WEBAPP-NAME }} --resource-group ${{ env.RESOURCE-GROUP }} --src-path .net-app/app.zip --type zip + # Publish website to Azure App Service using CLI (WebApp) + - name: Publish Website to WebApp + uses: Azure/cli@v2 + with: From ed0cac56cca75647e5f4c2a3eaed69ed9abd0e50 Mon Sep 17 00:00:00 2001 From: Vuyisile-Vuyi Date: Wed, 15 Jan 2025 15:33:47 +0200 Subject: [PATCH 12/12] Update eshoponweb-cicd.yml --- .github/workflows/eshoponweb-cicd.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/eshoponweb-cicd.yml b/.github/workflows/eshoponweb-cicd.yml index 0dc808a1..8c67d6c8 100644 --- a/.github/workflows/eshoponweb-cicd.yml +++ b/.github/workflows/eshoponweb-cicd.yml @@ -1,5 +1,7 @@ #Triggers (uncomment line below to use it) -on: workflow_dispatch +on: + workflow_dispatch: + #Environment variables https://docs.github.com/en/actions/learn-github-actions/environment-variables env: