From 85b8ab09196b848991b62b876f8d912e9f3ffc5b Mon Sep 17 00:00:00 2001 From: "oura.a" Date: Tue, 6 Jun 2023 02:05:13 +0000 Subject: [PATCH] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...tatic-web-apps-purple-forest-07b9d5300.yml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 azure-static-web-apps-purple-forest-07b9d5300.yml diff --git a/azure-static-web-apps-purple-forest-07b9d5300.yml b/azure-static-web-apps-purple-forest-07b9d5300.yml new file mode 100644 index 0000000..2525a6e --- /dev/null +++ b/azure-static-web-apps-purple-forest-07b9d5300.yml @@ -0,0 +1,32 @@ +name: Azure Static Web Apps CI/CD + +pr: + branches: + include: + - develop +trigger: + branches: + include: + - develop + +jobs: +- job: build_and_deploy_job + displayName: Build and Deploy Job + condition: or(eq(variables['Build.Reason'], 'Manual'),or(eq(variables['Build.Reason'], 'PullRequest'),eq(variables['Build.Reason'], 'IndividualCI'))) + pool: + vmImage: ubuntu-latest + variables: + - group: Azure-Static-Web-Apps-purple-forest-07b9d5300-variable-group + steps: + - checkout: self + submodules: true + - task: AzureStaticWebApp@0 + inputs: + azure_static_web_apps_api_token: $(AZURE_STATIC_WEB_APPS_API_TOKEN_PURPLE_FOREST_07B9D5300) +###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### +# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig + app_location: "/" # App source code path + api_location: "" # Api source code path - optional + output_location: "" # Built app content directory - optional +###### End of Repository/Build Configurations ###### +