From 0bd1b13ab84986f9463136da043f5006b6bdf40c Mon Sep 17 00:00:00 2001
From: Adiv Asif <asifadiv@gmail.com>
Date: Sun, 7 May 2023 21:50:28 +0000
Subject: [PATCH] ci: add Azure Static Web Apps workflow file on-behalf-of:
 @Azure opensource@microsoft.com

---
 ...-static-web-apps-gray-desert-06d027f03.yml | 32 +++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 azure-static-web-apps-gray-desert-06d027f03.yml

diff --git a/azure-static-web-apps-gray-desert-06d027f03.yml b/azure-static-web-apps-gray-desert-06d027f03.yml
new file mode 100644
index 0000000..cc69f40
--- /dev/null
+++ b/azure-static-web-apps-gray-desert-06d027f03.yml
@@ -0,0 +1,32 @@
+name: Azure Static Web Apps CI/CD
+
+pr:
+  branches:
+    include:
+      - main
+trigger:
+  branches:
+    include:
+      - main
+
+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-gray-desert-06d027f03-variable-group
+  steps:
+  - checkout: self
+    submodules: true
+  - task: AzureStaticWebApp@0
+    inputs:
+      azure_static_web_apps_api_token: $(AZURE_STATIC_WEB_APPS_API_TOKEN_GRAY_DESERT_06D027F03)
+###### 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: "Client" # App source code path
+      api_location: "Api" # Api source code path - optional
+      output_location: "wwwroot" # Built app content directory - optional
+###### End of Repository/Build Configurations ######
+
-- 
GitLab