From d305ee56b855bc9f5e3fcf3e2538ab4b41dc2ea2 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Tue, 23 May 2023 23:51:50 -0700 Subject: [PATCH 01/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...e-static-web-apps-mango-moss-0a036b112.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml diff --git a/.github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml b/.github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml new file mode 100644 index 0000000..c1706ba --- /dev/null +++ b/.github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_MANGO_MOSS_0A036B112 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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 ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_MANGO_MOSS_0A036B112 }} + action: "close" From ad7d994e82f8bb2e795da986f9b5360c60acb294 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Thu, 25 May 2023 03:15:00 -0700 Subject: [PATCH 02/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...static-web-apps-purple-coast-048538212.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-purple-coast-048538212.yml diff --git a/.github/workflows/azure-static-web-apps-purple-coast-048538212.yml b/.github/workflows/azure-static-web-apps-purple-coast-048538212.yml new file mode 100644 index 0000000..056776e --- /dev/null +++ b/.github/workflows/azure-static-web-apps-purple-coast-048538212.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PURPLE_COAST_048538212 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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 ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PURPLE_COAST_048538212 }} + action: "close" From 53cec1dfc7f3cf7af125002a9aeb1ade6c8bb026 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Thu, 25 May 2023 20:45:23 -0700 Subject: [PATCH 03/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...e-static-web-apps-witty-bush-05ff76c12.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-witty-bush-05ff76c12.yml diff --git a/.github/workflows/azure-static-web-apps-witty-bush-05ff76c12.yml b/.github/workflows/azure-static-web-apps-witty-bush-05ff76c12.yml new file mode 100644 index 0000000..71838e4 --- /dev/null +++ b/.github/workflows/azure-static-web-apps-witty-bush-05ff76c12.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_BUSH_05FF76C12 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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 ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_BUSH_05FF76C12 }} + action: "close" From b248f82d15e44055b2c7a9078af34968d4d7f824 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Thu, 25 May 2023 23:01:02 -0700 Subject: [PATCH 04/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...-static-web-apps-witty-field-058db4112.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-witty-field-058db4112.yml diff --git a/.github/workflows/azure-static-web-apps-witty-field-058db4112.yml b/.github/workflows/azure-static-web-apps-witty-field-058db4112.yml new file mode 100644 index 0000000..e83dc9b --- /dev/null +++ b/.github/workflows/azure-static-web-apps-witty-field-058db4112.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_FIELD_058DB4112 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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 ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_FIELD_058DB4112 }} + action: "close" From 3b7c0d949eafdf6d8f753a81694dbfee83473a0a Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 00:33:42 -0700 Subject: [PATCH 05/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...-static-web-apps-orange-wave-0faefb312.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml diff --git a/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml b/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml new file mode 100644 index 0000000..97e4046 --- /dev/null +++ b/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ORANGE_WAVE_0FAEFB312 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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 ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ORANGE_WAVE_0FAEFB312 }} + action: "close" From 308e9821e55d230da07ff31e57c49913ef7e4b2b Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 16:21:12 +0800 Subject: [PATCH 06/58] Update azure-static-web-apps-orange-wave-0faefb312.yml --- .../workflows/azure-static-web-apps-orange-wave-0faefb312.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml b/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml index 97e4046..af16bbf 100644 --- a/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml +++ b/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml @@ -27,9 +27,9 @@ jobs: action: "upload" ###### 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 + app_location: "./src" # App source code path api_location: "" # Api source code path - optional - output_location: "" # Built app content directory - optional + output_location: "./src" # Built app content directory - optional ###### End of Repository/Build Configurations ###### close_pull_request_job: From bb8e81fc2411039d0836442568bbe7e6419d22f0 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 16:48:53 +0800 Subject: [PATCH 07/58] Update azure-static-web-apps-orange-wave-0faefb312.yml --- .../workflows/azure-static-web-apps-orange-wave-0faefb312.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml b/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml index af16bbf..1e3e507 100644 --- a/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml +++ b/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml @@ -27,9 +27,9 @@ jobs: action: "upload" ###### 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: "./src" # App source code path + app_location: "/src" # App source code path api_location: "" # Api source code path - optional - output_location: "./src" # Built app content directory - optional + output_location: "/src" # Built app content directory - optional ###### End of Repository/Build Configurations ###### close_pull_request_job: From 4ba27d08ae1207facadee359cbb1d5c7f11a8d82 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 16:57:33 +0800 Subject: [PATCH 08/58] Update package.json --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 053f5b6..329f398 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "main": "index.js", "scripts": { "start": "swa start src --api-location api", - "playwright_test": "playwright test" + "playwright_test": "playwright test", + "build": "npm run now-build && next export" }, "repository": { "type": "git", From 68d68ca982389c315d280d9e2bd00f749bfd774e Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 16:59:55 +0800 Subject: [PATCH 09/58] Update package.json --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 329f398..98fdcc6 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "index.js", "scripts": { "start": "swa start src --api-location api", + "now-build": "npm run collect && next build", "playwright_test": "playwright test", "build": "npm run now-build && next export" }, From 8641cf34e897d0dccfba8e0a5eaea7097c2dcb28 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 17:10:52 +0800 Subject: [PATCH 10/58] Update package.json --- package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 98fdcc6..053f5b6 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,7 @@ "main": "index.js", "scripts": { "start": "swa start src --api-location api", - "now-build": "npm run collect && next build", - "playwright_test": "playwright test", - "build": "npm run now-build && next export" + "playwright_test": "playwright test" }, "repository": { "type": "git", From 823f53d2e8c7fab4d184f4a933deeacfca46baf9 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 17:13:37 +0800 Subject: [PATCH 11/58] Update azure-static-web-apps-witty-bush-05ff76c12.yml --- .../workflows/azure-static-web-apps-witty-bush-05ff76c12.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-witty-bush-05ff76c12.yml b/.github/workflows/azure-static-web-apps-witty-bush-05ff76c12.yml index 71838e4..fdf1d75 100644 --- a/.github/workflows/azure-static-web-apps-witty-bush-05ff76c12.yml +++ b/.github/workflows/azure-static-web-apps-witty-bush-05ff76c12.yml @@ -27,9 +27,9 @@ jobs: action: "upload" ###### 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 + app_location: "/src" # App source code path api_location: "" # Api source code path - optional - output_location: "" # Built app content directory - optional + output_location: "/src" # Built app content directory - optional ###### End of Repository/Build Configurations ###### close_pull_request_job: From 75a0e0526dc690f4f9a58d8afbdf21386809e889 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 17:15:15 +0800 Subject: [PATCH 12/58] Update azure-static-web-apps-mango-moss-0a036b112.yml --- .../workflows/azure-static-web-apps-mango-moss-0a036b112.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml b/.github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml index c1706ba..6628bf2 100644 --- a/.github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml +++ b/.github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml @@ -27,9 +27,9 @@ jobs: action: "upload" ###### 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 + app_location: "/src" # App source code path api_location: "" # Api source code path - optional - output_location: "" # Built app content directory - optional + output_location: "/src" # Built app content directory - optional ###### End of Repository/Build Configurations ###### close_pull_request_job: From 3a2a539187d9fb7255e1c10de3addb3b66bd8dbb Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 17:15:39 +0800 Subject: [PATCH 13/58] Update azure-static-web-apps-purple-coast-048538212.yml --- .../azure-static-web-apps-purple-coast-048538212.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-purple-coast-048538212.yml b/.github/workflows/azure-static-web-apps-purple-coast-048538212.yml index 056776e..bb02b3d 100644 --- a/.github/workflows/azure-static-web-apps-purple-coast-048538212.yml +++ b/.github/workflows/azure-static-web-apps-purple-coast-048538212.yml @@ -27,9 +27,9 @@ jobs: action: "upload" ###### 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 + app_location: "/src" # App source code path api_location: "" # Api source code path - optional - output_location: "" # Built app content directory - optional + output_location: "/src" # Built app content directory - optional ###### End of Repository/Build Configurations ###### close_pull_request_job: From c6de8b11ed300a176b877214880939cd0028669c Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 17:16:01 +0800 Subject: [PATCH 14/58] Update azure-static-web-apps-witty-field-058db4112.yml --- .../workflows/azure-static-web-apps-witty-field-058db4112.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-witty-field-058db4112.yml b/.github/workflows/azure-static-web-apps-witty-field-058db4112.yml index e83dc9b..9b15f6f 100644 --- a/.github/workflows/azure-static-web-apps-witty-field-058db4112.yml +++ b/.github/workflows/azure-static-web-apps-witty-field-058db4112.yml @@ -27,9 +27,9 @@ jobs: action: "upload" ###### 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 + app_location: "/src" # App source code path api_location: "" # Api source code path - optional - output_location: "" # Built app content directory - optional + output_location: "/src" # Built app content directory - optional ###### End of Repository/Build Configurations ###### close_pull_request_job: From 53c6e376d89b5f17b63253a77a04154b1edc4d5c Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 17:17:39 +0800 Subject: [PATCH 15/58] Update azure-static-web-apps-mango-moss-0a036b112.yml --- .../workflows/azure-static-web-apps-mango-moss-0a036b112.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml b/.github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml index 6628bf2..aa0ad0c 100644 --- a/.github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml +++ b/.github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml @@ -29,7 +29,7 @@ jobs: # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig app_location: "/src" # App source code path api_location: "" # Api source code path - optional - output_location: "/src" # Built app content directory - optional + output_location: "" # Built app content directory - optional ###### End of Repository/Build Configurations ###### close_pull_request_job: From 6e6c29c2fc70b14493332b33ef140345ad42b543 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 17:18:31 +0800 Subject: [PATCH 16/58] Update azure-static-web-apps-orange-wave-0faefb312.yml --- .../workflows/azure-static-web-apps-orange-wave-0faefb312.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml b/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml index 1e3e507..443de78 100644 --- a/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml +++ b/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml @@ -27,9 +27,9 @@ jobs: action: "upload" ###### 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: "/src" # App source code path + app_location: "./src" # App source code path api_location: "" # Api source code path - optional - output_location: "/src" # Built app content directory - optional + output_location: "" # Built app content directory - optional ###### End of Repository/Build Configurations ###### close_pull_request_job: From 946dc4e6b27590fc50339c5839f396925f00720d Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 02:23:20 -0700 Subject: [PATCH 17/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...-static-web-apps-kind-meadow-09adab812.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-kind-meadow-09adab812.yml diff --git a/.github/workflows/azure-static-web-apps-kind-meadow-09adab812.yml b/.github/workflows/azure-static-web-apps-kind-meadow-09adab812.yml new file mode 100644 index 0000000..6eca897 --- /dev/null +++ b/.github/workflows/azure-static-web-apps-kind-meadow-09adab812.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_KIND_MEADOW_09ADAB812 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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 ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_KIND_MEADOW_09ADAB812 }} + action: "close" From 565f4345c7ded9f8c416238759bbf2826df64ec8 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 02:56:43 -0700 Subject: [PATCH 18/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...atic-web-apps-agreeable-wave-0e9c27112.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-agreeable-wave-0e9c27112.yml diff --git a/.github/workflows/azure-static-web-apps-agreeable-wave-0e9c27112.yml b/.github/workflows/azure-static-web-apps-agreeable-wave-0e9c27112.yml new file mode 100644 index 0000000..f250266 --- /dev/null +++ b/.github/workflows/azure-static-web-apps-agreeable-wave-0e9c27112.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AGREEABLE_WAVE_0E9C27112 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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 ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AGREEABLE_WAVE_0E9C27112 }} + action: "close" From 7528dfe49834c83e795acf19d4f39416bc3b48f0 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 03:45:26 -0700 Subject: [PATCH 19/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...tic-web-apps-agreeable-ocean-0ab140512.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-agreeable-ocean-0ab140512.yml diff --git a/.github/workflows/azure-static-web-apps-agreeable-ocean-0ab140512.yml b/.github/workflows/azure-static-web-apps-agreeable-ocean-0ab140512.yml new file mode 100644 index 0000000..b5e840f --- /dev/null +++ b/.github/workflows/azure-static-web-apps-agreeable-ocean-0ab140512.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AGREEABLE_OCEAN_0AB140512 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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 ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AGREEABLE_OCEAN_0AB140512 }} + action: "close" From 910793452b78fec31361e448599af4290c3db572 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 26 May 2023 03:45:43 -0700 Subject: [PATCH 20/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...-static-web-apps-proud-field-07949ae12.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-proud-field-07949ae12.yml diff --git a/.github/workflows/azure-static-web-apps-proud-field-07949ae12.yml b/.github/workflows/azure-static-web-apps-proud-field-07949ae12.yml new file mode 100644 index 0000000..ef0983a --- /dev/null +++ b/.github/workflows/azure-static-web-apps-proud-field-07949ae12.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PROUD_FIELD_07949AE12 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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 ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PROUD_FIELD_07949AE12 }} + action: "close" From 0b33d11b404bd2ceaa18b2622044b5667d49873a Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 28 May 2023 20:42:02 -0700 Subject: [PATCH 21/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...e-static-web-apps-witty-hill-06b486112.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-witty-hill-06b486112.yml diff --git a/.github/workflows/azure-static-web-apps-witty-hill-06b486112.yml b/.github/workflows/azure-static-web-apps-witty-hill-06b486112.yml new file mode 100644 index 0000000..763b61b --- /dev/null +++ b/.github/workflows/azure-static-web-apps-witty-hill-06b486112.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_HILL_06B486112 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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 ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_HILL_06B486112 }} + action: "close" From 2940db819e9e210db8b93568cade1027107881b7 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 28 May 2023 23:27:13 -0700 Subject: [PATCH 22/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...-static-web-apps-white-beach-0a88c8112.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-white-beach-0a88c8112.yml diff --git a/.github/workflows/azure-static-web-apps-white-beach-0a88c8112.yml b/.github/workflows/azure-static-web-apps-white-beach-0a88c8112.yml new file mode 100644 index 0000000..aa36c0f --- /dev/null +++ b/.github/workflows/azure-static-web-apps-white-beach-0a88c8112.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_BEACH_0A88C8112 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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 ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_BEACH_0A88C8112 }} + action: "close" From 563616843d8fc251ea4a590ff5a002c6f19259bf Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Tue, 30 May 2023 00:02:27 -0700 Subject: [PATCH 23/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...-static-web-apps-happy-ocean-05ed59c12.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-happy-ocean-05ed59c12.yml diff --git a/.github/workflows/azure-static-web-apps-happy-ocean-05ed59c12.yml b/.github/workflows/azure-static-web-apps-happy-ocean-05ed59c12.yml new file mode 100644 index 0000000..ad910fc --- /dev/null +++ b/.github/workflows/azure-static-web-apps-happy-ocean-05ed59c12.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_HAPPY_OCEAN_05ED59C12 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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 ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_HAPPY_OCEAN_05ED59C12 }} + action: "close" From 32d09b2380da7d77a2a41ebf60460082e26359ab Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Tue, 30 May 2023 01:30:13 -0700 Subject: [PATCH 24/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...e-static-web-apps-jolly-hill-02e716812.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-jolly-hill-02e716812.yml diff --git a/.github/workflows/azure-static-web-apps-jolly-hill-02e716812.yml b/.github/workflows/azure-static-web-apps-jolly-hill-02e716812.yml new file mode 100644 index 0000000..0c56a09 --- /dev/null +++ b/.github/workflows/azure-static-web-apps-jolly-hill-02e716812.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_JOLLY_HILL_02E716812 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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 ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_JOLLY_HILL_02E716812 }} + action: "close" From 6f3915ec2572f208a776e398049134ec53d28b4a Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Tue, 30 May 2023 02:12:24 -0700 Subject: [PATCH 25/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...tic-web-apps-wonderful-field-0c9217812.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-wonderful-field-0c9217812.yml diff --git a/.github/workflows/azure-static-web-apps-wonderful-field-0c9217812.yml b/.github/workflows/azure-static-web-apps-wonderful-field-0c9217812.yml new file mode 100644 index 0000000..dceb25d --- /dev/null +++ b/.github/workflows/azure-static-web-apps-wonderful-field-0c9217812.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WONDERFUL_FIELD_0C9217812 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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 ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WONDERFUL_FIELD_0C9217812 }} + action: "close" From a161b26b87dd89bd04db6c5585ce7ec72d71b861 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Tue, 30 May 2023 03:59:45 -0700 Subject: [PATCH 26/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...tic-web-apps-delightful-wave-09c564a12.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-delightful-wave-09c564a12.yml diff --git a/.github/workflows/azure-static-web-apps-delightful-wave-09c564a12.yml b/.github/workflows/azure-static-web-apps-delightful-wave-09c564a12.yml new file mode 100644 index 0000000..aef0bb5 --- /dev/null +++ b/.github/workflows/azure-static-web-apps-delightful-wave-09c564a12.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_DELIGHTFUL_WAVE_09C564A12 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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 ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: jessieyyt/staticstiesactionoryx@master + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_DELIGHTFUL_WAVE_09C564A12 }} + action: "close" From 447785ce50c867c864517530037563468f3b1ce3 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Tue, 20 Jun 2023 18:27:32 +0800 Subject: [PATCH 27/58] Create staticwebapp.config.json --- src/staticwebapp.config.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/staticwebapp.config.json diff --git a/src/staticwebapp.config.json b/src/staticwebapp.config.json new file mode 100644 index 0000000..e70e703 --- /dev/null +++ b/src/staticwebapp.config.json @@ -0,0 +1,14 @@ +{ + "auth": { + "identityProviders": { + "azureActiveDirectory": { + "userDetailsClaim": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name", + "registration": { + "openIdIssuer": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", + "clientIdSettingName": "AZURE_CLIENT_ID", + "clientSecretSettingName": "AZURE_CLIENT_SECRET" + } + } + } + } +} From 248c9e8750b863dcf7efa1fbe79aac9b1b5f593f Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:01:36 +0800 Subject: [PATCH 28/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...e-static-web-apps-blue-water-088c66f10.yml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-blue-water-088c66f10.yml diff --git a/.github/workflows/azure-static-web-apps-blue-water-088c66f10.yml b/.github/workflows/azure-static-web-apps-blue-water-088c66f10.yml new file mode 100644 index 0000000..78586bf --- /dev/null +++ b/.github/workflows/azure-static-web-apps-blue-water-088c66f10.yml @@ -0,0 +1,46 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + lfs: false + - name: Build And Deploy + id: builddeploy + uses: Azure/static-web-apps-deploy@v1 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BLUE_WATER_088C66F10 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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: "./src" # App source code path + api_location: "./api" # Api source code path - optional + output_location: "." # Built app content directory - optional + ###### End of Repository/Build Configurations ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: Azure/static-web-apps-deploy@v1 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BLUE_WATER_088C66F10 }} + action: "close" From 411e4ce21106d6153d367ca2b6a0e6c3b74d56b9 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:04:16 +0800 Subject: [PATCH 29/58] Delete .github/workflows/azure-static-web-apps-wonderful-field-0c9217812.yml --- ...tic-web-apps-wonderful-field-0c9217812.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-wonderful-field-0c9217812.yml diff --git a/.github/workflows/azure-static-web-apps-wonderful-field-0c9217812.yml b/.github/workflows/azure-static-web-apps-wonderful-field-0c9217812.yml deleted file mode 100644 index dceb25d..0000000 --- a/.github/workflows/azure-static-web-apps-wonderful-field-0c9217812.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WONDERFUL_FIELD_0C9217812 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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 ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WONDERFUL_FIELD_0C9217812 }} - action: "close" From ec2c58b32a59dcf39791018c472e652d9f08a6da Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:04:30 +0800 Subject: [PATCH 30/58] Delete .github/workflows/azure-static-web-apps-witty-hill-06b486112.yml --- ...e-static-web-apps-witty-hill-06b486112.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-witty-hill-06b486112.yml diff --git a/.github/workflows/azure-static-web-apps-witty-hill-06b486112.yml b/.github/workflows/azure-static-web-apps-witty-hill-06b486112.yml deleted file mode 100644 index 763b61b..0000000 --- a/.github/workflows/azure-static-web-apps-witty-hill-06b486112.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_HILL_06B486112 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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 ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_HILL_06B486112 }} - action: "close" From f5a54bbf409a88e321212c115e01489e51c89d8e Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:04:41 +0800 Subject: [PATCH 31/58] Delete .github/workflows/azure-static-web-apps-witty-field-058db4112.yml --- ...-static-web-apps-witty-field-058db4112.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-witty-field-058db4112.yml diff --git a/.github/workflows/azure-static-web-apps-witty-field-058db4112.yml b/.github/workflows/azure-static-web-apps-witty-field-058db4112.yml deleted file mode 100644 index 9b15f6f..0000000 --- a/.github/workflows/azure-static-web-apps-witty-field-058db4112.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_FIELD_058DB4112 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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: "/src" # App source code path - api_location: "" # Api source code path - optional - output_location: "/src" # Built app content directory - optional - ###### End of Repository/Build Configurations ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_FIELD_058DB4112 }} - action: "close" From 5252c5350483ea30b2bc466c1465050eefba2062 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:04:54 +0800 Subject: [PATCH 32/58] Delete .github/workflows/azure-static-web-apps-witty-bush-05ff76c12.yml --- ...e-static-web-apps-witty-bush-05ff76c12.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-witty-bush-05ff76c12.yml diff --git a/.github/workflows/azure-static-web-apps-witty-bush-05ff76c12.yml b/.github/workflows/azure-static-web-apps-witty-bush-05ff76c12.yml deleted file mode 100644 index fdf1d75..0000000 --- a/.github/workflows/azure-static-web-apps-witty-bush-05ff76c12.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_BUSH_05FF76C12 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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: "/src" # App source code path - api_location: "" # Api source code path - optional - output_location: "/src" # Built app content directory - optional - ###### End of Repository/Build Configurations ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_BUSH_05FF76C12 }} - action: "close" From 1e600b8fe74df84640094143bbdf27534a27fdf1 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:05:05 +0800 Subject: [PATCH 33/58] Delete .github/workflows/azure-static-web-apps-white-beach-0a88c8112.yml --- ...-static-web-apps-white-beach-0a88c8112.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-white-beach-0a88c8112.yml diff --git a/.github/workflows/azure-static-web-apps-white-beach-0a88c8112.yml b/.github/workflows/azure-static-web-apps-white-beach-0a88c8112.yml deleted file mode 100644 index aa36c0f..0000000 --- a/.github/workflows/azure-static-web-apps-white-beach-0a88c8112.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_BEACH_0A88C8112 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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 ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_BEACH_0A88C8112 }} - action: "close" From 4177f3aa8095927e287e887e1cf55b152d9d76bc Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:05:50 +0800 Subject: [PATCH 34/58] Delete .github/workflows/azure-static-web-apps-purple-coast-048538212.yml --- ...static-web-apps-purple-coast-048538212.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-purple-coast-048538212.yml diff --git a/.github/workflows/azure-static-web-apps-purple-coast-048538212.yml b/.github/workflows/azure-static-web-apps-purple-coast-048538212.yml deleted file mode 100644 index bb02b3d..0000000 --- a/.github/workflows/azure-static-web-apps-purple-coast-048538212.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PURPLE_COAST_048538212 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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: "/src" # App source code path - api_location: "" # Api source code path - optional - output_location: "/src" # Built app content directory - optional - ###### End of Repository/Build Configurations ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PURPLE_COAST_048538212 }} - action: "close" From be4b3bde34ac9b255b1208474194ad379340df09 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:06:03 +0800 Subject: [PATCH 35/58] Delete .github/workflows/azure-static-web-apps-proud-field-07949ae12.yml --- ...-static-web-apps-proud-field-07949ae12.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-proud-field-07949ae12.yml diff --git a/.github/workflows/azure-static-web-apps-proud-field-07949ae12.yml b/.github/workflows/azure-static-web-apps-proud-field-07949ae12.yml deleted file mode 100644 index ef0983a..0000000 --- a/.github/workflows/azure-static-web-apps-proud-field-07949ae12.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PROUD_FIELD_07949AE12 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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 ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PROUD_FIELD_07949AE12 }} - action: "close" From eb59f6d7661ed8c84dcd3b978fa90ccb4a56be0e Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:06:14 +0800 Subject: [PATCH 36/58] Delete .github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml --- ...-static-web-apps-orange-wave-0faefb312.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml diff --git a/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml b/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml deleted file mode 100644 index 443de78..0000000 --- a/.github/workflows/azure-static-web-apps-orange-wave-0faefb312.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ORANGE_WAVE_0FAEFB312 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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: "./src" # App source code path - api_location: "" # Api source code path - optional - output_location: "" # Built app content directory - optional - ###### End of Repository/Build Configurations ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ORANGE_WAVE_0FAEFB312 }} - action: "close" From c219e830fea65c6623a27e347a96ce2fd09678ec Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:06:23 +0800 Subject: [PATCH 37/58] Delete .github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml --- ...e-static-web-apps-mango-moss-0a036b112.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml diff --git a/.github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml b/.github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml deleted file mode 100644 index aa0ad0c..0000000 --- a/.github/workflows/azure-static-web-apps-mango-moss-0a036b112.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_MANGO_MOSS_0A036B112 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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: "/src" # App source code path - api_location: "" # Api source code path - optional - output_location: "" # Built app content directory - optional - ###### End of Repository/Build Configurations ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_MANGO_MOSS_0A036B112 }} - action: "close" From 2ce1472732d7dba8350ad84213c5a42c8cd75644 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:06:33 +0800 Subject: [PATCH 38/58] Delete .github/workflows/azure-static-web-apps-kind-meadow-09adab812.yml --- ...-static-web-apps-kind-meadow-09adab812.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-kind-meadow-09adab812.yml diff --git a/.github/workflows/azure-static-web-apps-kind-meadow-09adab812.yml b/.github/workflows/azure-static-web-apps-kind-meadow-09adab812.yml deleted file mode 100644 index 6eca897..0000000 --- a/.github/workflows/azure-static-web-apps-kind-meadow-09adab812.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_KIND_MEADOW_09ADAB812 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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 ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_KIND_MEADOW_09ADAB812 }} - action: "close" From 01a2fff92d34c08d88c35b19dcc52b9cd9c69d3c Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:06:43 +0800 Subject: [PATCH 39/58] Delete .github/workflows/azure-static-web-apps-jolly-hill-02e716812.yml --- ...e-static-web-apps-jolly-hill-02e716812.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-jolly-hill-02e716812.yml diff --git a/.github/workflows/azure-static-web-apps-jolly-hill-02e716812.yml b/.github/workflows/azure-static-web-apps-jolly-hill-02e716812.yml deleted file mode 100644 index 0c56a09..0000000 --- a/.github/workflows/azure-static-web-apps-jolly-hill-02e716812.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_JOLLY_HILL_02E716812 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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 ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_JOLLY_HILL_02E716812 }} - action: "close" From 8690c8986f6704a2a2c1a8fadb76ecf4659dd9cf Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:06:53 +0800 Subject: [PATCH 40/58] Delete .github/workflows/azure-static-web-apps-happy-ocean-05ed59c12.yml --- ...-static-web-apps-happy-ocean-05ed59c12.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-happy-ocean-05ed59c12.yml diff --git a/.github/workflows/azure-static-web-apps-happy-ocean-05ed59c12.yml b/.github/workflows/azure-static-web-apps-happy-ocean-05ed59c12.yml deleted file mode 100644 index ad910fc..0000000 --- a/.github/workflows/azure-static-web-apps-happy-ocean-05ed59c12.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_HAPPY_OCEAN_05ED59C12 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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 ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_HAPPY_OCEAN_05ED59C12 }} - action: "close" From 2ece2ddc327572af24b7bad56222e94ba5ed5995 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:07:07 +0800 Subject: [PATCH 41/58] Delete .github/workflows/azure-static-web-apps-delightful-wave-09c564a12.yml --- ...tic-web-apps-delightful-wave-09c564a12.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-delightful-wave-09c564a12.yml diff --git a/.github/workflows/azure-static-web-apps-delightful-wave-09c564a12.yml b/.github/workflows/azure-static-web-apps-delightful-wave-09c564a12.yml deleted file mode 100644 index aef0bb5..0000000 --- a/.github/workflows/azure-static-web-apps-delightful-wave-09c564a12.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_DELIGHTFUL_WAVE_09C564A12 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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 ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_DELIGHTFUL_WAVE_09C564A12 }} - action: "close" From a67fe2ce4e00c524a58a1668276c9847d2d29af4 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:07:16 +0800 Subject: [PATCH 42/58] Delete .github/workflows/azure-static-web-apps-agreeable-ocean-0ab140512.yml --- ...tic-web-apps-agreeable-ocean-0ab140512.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-agreeable-ocean-0ab140512.yml diff --git a/.github/workflows/azure-static-web-apps-agreeable-ocean-0ab140512.yml b/.github/workflows/azure-static-web-apps-agreeable-ocean-0ab140512.yml deleted file mode 100644 index b5e840f..0000000 --- a/.github/workflows/azure-static-web-apps-agreeable-ocean-0ab140512.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AGREEABLE_OCEAN_0AB140512 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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 ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AGREEABLE_OCEAN_0AB140512 }} - action: "close" From b6191616e049ba19ee6492821493831ba4fb7ffd Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:07:26 +0800 Subject: [PATCH 43/58] Delete .github/workflows/azure-static-web-apps-agreeable-wave-0e9c27112.yml --- ...atic-web-apps-agreeable-wave-0e9c27112.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-agreeable-wave-0e9c27112.yml diff --git a/.github/workflows/azure-static-web-apps-agreeable-wave-0e9c27112.yml b/.github/workflows/azure-static-web-apps-agreeable-wave-0e9c27112.yml deleted file mode 100644 index f250266..0000000 --- a/.github/workflows/azure-static-web-apps-agreeable-wave-0e9c27112.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - name: Build And Deploy - id: builddeploy - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AGREEABLE_WAVE_0E9C27112 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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 ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: jessieyyt/staticstiesactionoryx@master - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AGREEABLE_WAVE_0E9C27112 }} - action: "close" From 7d1abce5f1b1d0983f53883471069dc15126fcaa Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Tue, 24 Dec 2024 19:57:15 +0800 Subject: [PATCH 44/58] Create staticwebapp.database.config.json --- .../staticwebapp.database.config.json | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 swa-db-connections/staticwebapp.database.config.json diff --git a/swa-db-connections/staticwebapp.database.config.json b/swa-db-connections/staticwebapp.database.config.json new file mode 100644 index 0000000..c03474f --- /dev/null +++ b/swa-db-connections/staticwebapp.database.config.json @@ -0,0 +1,39 @@ +{ + "$schema": "https://github.com/Azure/data-api-builder/releases/latest/download/dab.draft.schema.json", + "data-source": { + "database-type": "cosmosdb_nosql", + "options": { + "database": "MyTestPersonDatabase", + "schema": "staticwebapp.database.schema.gql" + }, + "connection-string": "AccountEndpoint=https://swa-demo-cosmos.documents.azure.com:443/;AccountKey=2MBgMHDXyF2AJpmZtWyHWuL8YbTH9qyYvVaisbrNPS8ErWxtmxxv1X9lJk5gYp2ToAxqFeCc5S8NACDby3b2Ug==;" + }, + "runtime": { + "graphql": { + "allow-introspection": true, + "enabled": true, + "path": "/graphql" + }, + "host": { + "mode": "production", + "cors": { + "origins": ["http://localhost:4280"], + "allow-credentials": false + }, + "authentication": { + "provider": "StaticWebApps" + } + } + }, + "entities": { + "Person": { + "source": "MyTestPersonContainer", + "permissions": [ + { + "actions": ["*"], + "role": "anonymous" + } + ] + } + } +} From 409b77296e65047fade43ed7604b1d3578ba76d1 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Tue, 24 Dec 2024 19:57:46 +0800 Subject: [PATCH 45/58] Create staticwebapp.database.schema.gql --- swa-db-connections/staticwebapp.database.schema.gql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 swa-db-connections/staticwebapp.database.schema.gql diff --git a/swa-db-connections/staticwebapp.database.schema.gql b/swa-db-connections/staticwebapp.database.schema.gql new file mode 100644 index 0000000..b47c187 --- /dev/null +++ b/swa-db-connections/staticwebapp.database.schema.gql @@ -0,0 +1,4 @@ +type Person @model { + id: ID + Name: String +} From 66f18d3a96b1c0b7c91990d08e8e4c55c64cf5fb Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Tue, 24 Dec 2024 20:02:35 +0800 Subject: [PATCH 46/58] Update staticwebapp.database.config.json --- swa-db-connections/staticwebapp.database.config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swa-db-connections/staticwebapp.database.config.json b/swa-db-connections/staticwebapp.database.config.json index c03474f..e93ca8d 100644 --- a/swa-db-connections/staticwebapp.database.config.json +++ b/swa-db-connections/staticwebapp.database.config.json @@ -6,7 +6,7 @@ "database": "MyTestPersonDatabase", "schema": "staticwebapp.database.schema.gql" }, - "connection-string": "AccountEndpoint=https://swa-demo-cosmos.documents.azure.com:443/;AccountKey=2MBgMHDXyF2AJpmZtWyHWuL8YbTH9qyYvVaisbrNPS8ErWxtmxxv1X9lJk5gYp2ToAxqFeCc5S8NACDby3b2Ug==;" + "connection-string": "" }, "runtime": { "graphql": { From 564928707a8d81de9c11e5a9da3b65d19d59431d Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Wed, 25 Dec 2024 13:53:10 +0800 Subject: [PATCH 47/58] Delete swa-db-connections/staticwebapp.database.schema.gql --- swa-db-connections/staticwebapp.database.schema.gql | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 swa-db-connections/staticwebapp.database.schema.gql diff --git a/swa-db-connections/staticwebapp.database.schema.gql b/swa-db-connections/staticwebapp.database.schema.gql deleted file mode 100644 index b47c187..0000000 --- a/swa-db-connections/staticwebapp.database.schema.gql +++ /dev/null @@ -1,4 +0,0 @@ -type Person @model { - id: ID - Name: String -} From a9b305783927a0e5869f02522e36b506709ea92e Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Wed, 25 Dec 2024 13:53:49 +0800 Subject: [PATCH 48/58] Update staticwebapp.database.config.json --- .../staticwebapp.database.config.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/swa-db-connections/staticwebapp.database.config.json b/swa-db-connections/staticwebapp.database.config.json index e93ca8d..bb7811b 100644 --- a/swa-db-connections/staticwebapp.database.config.json +++ b/swa-db-connections/staticwebapp.database.config.json @@ -1,14 +1,17 @@ { - "$schema": "https://github.com/Azure/data-api-builder/releases/latest/download/dab.draft.schema.json", + "$schema": "https://dataapibuilder.azureedge.net/schemas/latest/dab.draft.schema.json", "data-source": { - "database-type": "cosmosdb_nosql", + "database-type": "mssql", "options": { - "database": "MyTestPersonDatabase", - "schema": "staticwebapp.database.schema.gql" + "set-session-context": false }, - "connection-string": "" + "connection-string": "@env('DATABASE_CONNECTION_STRING')" }, "runtime": { + "rest": { + "enabled": true, + "path": "/rest" + }, "graphql": { "allow-introspection": true, "enabled": true, @@ -27,7 +30,7 @@ }, "entities": { "Person": { - "source": "MyTestPersonContainer", + "source": "dbo.MyTestPersonTable", "permissions": [ { "actions": ["*"], From cc58517c34f2a633a2d759f549f16413df9e5837 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Thu, 26 Dec 2024 17:21:17 +0800 Subject: [PATCH 49/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...static-web-apps-lemon-pebble-0778f0610.yml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-lemon-pebble-0778f0610.yml diff --git a/.github/workflows/azure-static-web-apps-lemon-pebble-0778f0610.yml b/.github/workflows/azure-static-web-apps-lemon-pebble-0778f0610.yml new file mode 100644 index 0000000..d305564 --- /dev/null +++ b/.github/workflows/azure-static-web-apps-lemon-pebble-0778f0610.yml @@ -0,0 +1,46 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + lfs: false + - name: Build And Deploy + id: builddeploy + uses: Azure/static-web-apps-deploy@v1 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_LEMON_PEBBLE_0778F0610 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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: "./src" # App source code path + api_location: "./api" # Api source code path - optional + output_location: "." # Built app content directory - optional + ###### End of Repository/Build Configurations ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: Azure/static-web-apps-deploy@v1 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_LEMON_PEBBLE_0778F0610 }} + action: "close" From 9c5d380faacd72980cb8301d2e92b0f1a895337b Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Thu, 26 Dec 2024 23:07:42 +0800 Subject: [PATCH 50/58] Delete tests directory --- tests/Test.README.md | 3 --- tests/playwright.spec.ts | 8 -------- 2 files changed, 11 deletions(-) delete mode 100644 tests/Test.README.md delete mode 100644 tests/playwright.spec.ts diff --git a/tests/Test.README.md b/tests/Test.README.md deleted file mode 100644 index 65f1284..0000000 --- a/tests/Test.README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Testing - -To run playwright tests run `npm run playwright_test`. In order to run the playwright tests the start script `swa start src --api-location api` was added. \ No newline at end of file diff --git a/tests/playwright.spec.ts b/tests/playwright.spec.ts deleted file mode 100644 index 1cb7a8d..0000000 --- a/tests/playwright.spec.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { test, expect } from '@playwright/test'; - -test('basic test', async ({ page }) => { - await page.goto('/'); - await page.waitForSelector('h1') - await expect(page.locator('h1')).toContainText('Vanilla JavaScript App'); - await expect(page.locator('b')).toContainText('Hello from the API') -}) \ No newline at end of file From 7b7b385d44d94038cf958187741056a5ed60e82f Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Thu, 26 Dec 2024 23:09:31 +0800 Subject: [PATCH 51/58] Update staticwebapp.config.json --- src/staticwebapp.config.json | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/staticwebapp.config.json b/src/staticwebapp.config.json index e70e703..029de9e 100644 --- a/src/staticwebapp.config.json +++ b/src/staticwebapp.config.json @@ -1,14 +1,17 @@ { - "auth": { - "identityProviders": { - "azureActiveDirectory": { - "userDetailsClaim": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name", - "registration": { - "openIdIssuer": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47", - "clientIdSettingName": "AZURE_CLIENT_ID", - "clientSecretSettingName": "AZURE_CLIENT_SECRET" - } - } + "navigationFallback": { + "rewrite": "/index.html" + }, + "routes": [ + { + "route": "/*", + "allowedRoles": [ "authenticated" ] + } + ], + "responseOverrides": { + "401": { + "statusCode": 302, + "redirect": "/.auth/login/aad" } } } From a5b829265e3c3906b25d0e1ae912e737b147863c Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Thu, 26 Dec 2024 23:12:56 +0800 Subject: [PATCH 52/58] Delete src/staticwebapp.config.json --- src/staticwebapp.config.json | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/staticwebapp.config.json diff --git a/src/staticwebapp.config.json b/src/staticwebapp.config.json deleted file mode 100644 index 029de9e..0000000 --- a/src/staticwebapp.config.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "navigationFallback": { - "rewrite": "/index.html" - }, - "routes": [ - { - "route": "/*", - "allowedRoles": [ "authenticated" ] - } - ], - "responseOverrides": { - "401": { - "statusCode": 302, - "redirect": "/.auth/login/aad" - } - } -} From bbccac0a32c54370daff185f60b9bba11bce8a7a Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 27 Dec 2024 14:00:05 +0800 Subject: [PATCH 53/58] Delete swa-db-connections directory --- .../staticwebapp.database.config.json | 42 ------------------- 1 file changed, 42 deletions(-) delete mode 100644 swa-db-connections/staticwebapp.database.config.json diff --git a/swa-db-connections/staticwebapp.database.config.json b/swa-db-connections/staticwebapp.database.config.json deleted file mode 100644 index bb7811b..0000000 --- a/swa-db-connections/staticwebapp.database.config.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://dataapibuilder.azureedge.net/schemas/latest/dab.draft.schema.json", - "data-source": { - "database-type": "mssql", - "options": { - "set-session-context": false - }, - "connection-string": "@env('DATABASE_CONNECTION_STRING')" - }, - "runtime": { - "rest": { - "enabled": true, - "path": "/rest" - }, - "graphql": { - "allow-introspection": true, - "enabled": true, - "path": "/graphql" - }, - "host": { - "mode": "production", - "cors": { - "origins": ["http://localhost:4280"], - "allow-credentials": false - }, - "authentication": { - "provider": "StaticWebApps" - } - } - }, - "entities": { - "Person": { - "source": "dbo.MyTestPersonTable", - "permissions": [ - { - "actions": ["*"], - "role": "anonymous" - } - ] - } - } -} From 84525f20ed202b9c8d7b24c604aaa8cc1b20316b Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 27 Dec 2024 14:01:27 +0800 Subject: [PATCH 54/58] Create staticwebapp.database.config.json --- .../staticwebapp.database.config.json | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 swa-db-connections/staticwebapp.database.config.json diff --git a/swa-db-connections/staticwebapp.database.config.json b/swa-db-connections/staticwebapp.database.config.json new file mode 100644 index 0000000..bb7811b --- /dev/null +++ b/swa-db-connections/staticwebapp.database.config.json @@ -0,0 +1,42 @@ +{ + "$schema": "https://dataapibuilder.azureedge.net/schemas/latest/dab.draft.schema.json", + "data-source": { + "database-type": "mssql", + "options": { + "set-session-context": false + }, + "connection-string": "@env('DATABASE_CONNECTION_STRING')" + }, + "runtime": { + "rest": { + "enabled": true, + "path": "/rest" + }, + "graphql": { + "allow-introspection": true, + "enabled": true, + "path": "/graphql" + }, + "host": { + "mode": "production", + "cors": { + "origins": ["http://localhost:4280"], + "allow-credentials": false + }, + "authentication": { + "provider": "StaticWebApps" + } + } + }, + "entities": { + "Person": { + "source": "dbo.MyTestPersonTable", + "permissions": [ + { + "actions": ["*"], + "role": "anonymous" + } + ] + } + } +} From 58e3bd9a88ffcdc48c504dfd9654afd753c41850 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 27 Dec 2024 14:02:04 +0800 Subject: [PATCH 55/58] Delete .github/workflows/azure-static-web-apps-lemon-pebble-0778f0610.yml --- ...static-web-apps-lemon-pebble-0778f0610.yml | 46 ------------------- 1 file changed, 46 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-lemon-pebble-0778f0610.yml diff --git a/.github/workflows/azure-static-web-apps-lemon-pebble-0778f0610.yml b/.github/workflows/azure-static-web-apps-lemon-pebble-0778f0610.yml deleted file mode 100644 index d305564..0000000 --- a/.github/workflows/azure-static-web-apps-lemon-pebble-0778f0610.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - lfs: false - - name: Build And Deploy - id: builddeploy - uses: Azure/static-web-apps-deploy@v1 - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_LEMON_PEBBLE_0778F0610 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### 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: "./src" # App source code path - api_location: "./api" # Api source code path - optional - output_location: "." # Built app content directory - optional - ###### End of Repository/Build Configurations ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: Azure/static-web-apps-deploy@v1 - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_LEMON_PEBBLE_0778F0610 }} - action: "close" From 2fc6c7bf2f3e5d1e06cf4fb7db9402c34995099c Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 27 Dec 2024 14:21:57 +0800 Subject: [PATCH 56/58] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...tic-web-apps-ambitious-smoke-0fd019710.yml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-ambitious-smoke-0fd019710.yml diff --git a/.github/workflows/azure-static-web-apps-ambitious-smoke-0fd019710.yml b/.github/workflows/azure-static-web-apps-ambitious-smoke-0fd019710.yml new file mode 100644 index 0000000..e5fd5fc --- /dev/null +++ b/.github/workflows/azure-static-web-apps-ambitious-smoke-0fd019710.yml @@ -0,0 +1,46 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + lfs: false + - name: Build And Deploy + id: builddeploy + uses: Azure/static-web-apps-deploy@v1 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AMBITIOUS_SMOKE_0FD019710 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### 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: "./src" # App source code path + api_location: "./api" # Api source code path - optional + output_location: "." # Built app content directory - optional + ###### End of Repository/Build Configurations ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: Azure/static-web-apps-deploy@v1 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AMBITIOUS_SMOKE_0FD019710 }} + action: "close" From 917edd2cc85cf37bf6036bec13fb7f9a352d03e2 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Fri, 27 Dec 2024 14:29:01 +0800 Subject: [PATCH 57/58] Create staticwebapp.config.json --- src/staticwebapp.config.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/staticwebapp.config.json diff --git a/src/staticwebapp.config.json b/src/staticwebapp.config.json new file mode 100644 index 0000000..029de9e --- /dev/null +++ b/src/staticwebapp.config.json @@ -0,0 +1,17 @@ +{ + "navigationFallback": { + "rewrite": "/index.html" + }, + "routes": [ + { + "route": "/*", + "allowedRoles": [ "authenticated" ] + } + ], + "responseOverrides": { + "401": { + "statusCode": 302, + "redirect": "/.auth/login/aad" + } + } +} From 74db06d48fa17aa1b111acdf7d34c3baa85af26d Mon Sep 17 00:00:00 2001 From: yutingyang Date: Fri, 27 Dec 2024 14:32:54 +0800 Subject: [PATCH 58/58] demo --- src/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.html b/src/index.html index 6cbfc9a..09e08b2 100644 --- a/src/index.html +++ b/src/index.html @@ -4,12 +4,12 @@ - Vanilla JavaScript App + Vanilla Static web App
-

Vanilla JavaScript App

+

Vanilla Static web App

Loading content from the API: