From c50d32a72f2326cc30c0311299ea85504484d78d Mon Sep 17 00:00:00 2001 From: rudolftelit <155717964+rudolftelit@users.noreply.github.com> Date: Mon, 13 Jan 2025 09:32:46 +0100 Subject: [PATCH 1/8] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...-static-web-apps-mango-water-066693903.yml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-mango-water-066693903.yml diff --git a/.github/workflows/azure-static-web-apps-mango-water-066693903.yml b/.github/workflows/azure-static-web-apps-mango-water-066693903.yml new file mode 100644 index 000000000000..e8330b8ad040 --- /dev/null +++ b/.github/workflows/azure-static-web-apps-mango-water-066693903.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_MANGO_WATER_066693903 }} + 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: "/out" # 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_MANGO_WATER_066693903 }} + action: "close" From d6a44b41704289c406a7f65db9e9ae42219195f9 Mon Sep 17 00:00:00 2001 From: rudolftelit <155717964+rudolftelit@users.noreply.github.com> Date: Mon, 13 Jan 2025 11:58:08 +0100 Subject: [PATCH 2/8] Update azure-static-web-apps-mango-water-066693903.yml --- .../workflows/azure-static-web-apps-mango-water-066693903.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-mango-water-066693903.yml b/.github/workflows/azure-static-web-apps-mango-water-066693903.yml index e8330b8ad040..377630ab20e9 100644 --- a/.github/workflows/azure-static-web-apps-mango-water-066693903.yml +++ b/.github/workflows/azure-static-web-apps-mango-water-066693903.yml @@ -4,10 +4,6 @@ on: push: branches: - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main jobs: build_and_deploy_job: From b93ab55ef87e4865b3b7b25dd68481b3d9e3322a Mon Sep 17 00:00:00 2001 From: rudolftelit <155717964+rudolftelit@users.noreply.github.com> Date: Mon, 13 Jan 2025 12:21:06 +0100 Subject: [PATCH 3/8] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...atic-web-apps-purple-glacier-0dc371903.yml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-purple-glacier-0dc371903.yml diff --git a/.github/workflows/azure-static-web-apps-purple-glacier-0dc371903.yml b/.github/workflows/azure-static-web-apps-purple-glacier-0dc371903.yml new file mode 100644 index 000000000000..b60945dcf342 --- /dev/null +++ b/.github/workflows/azure-static-web-apps-purple-glacier-0dc371903.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_PURPLE_GLACIER_0DC371903 }} + 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: "/out" # 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_PURPLE_GLACIER_0DC371903 }} + action: "close" From 1fe5dbee3d0b46252de82509639f5a334acae86b Mon Sep 17 00:00:00 2001 From: rudolftelit <155717964+rudolftelit@users.noreply.github.com> Date: Wed, 15 Jan 2025 13:55:25 +0100 Subject: [PATCH 4/8] Delete .github/workflows/azure-static-web-apps-mango-water-066693903.yml --- ...-static-web-apps-mango-water-066693903.yml | 42 ------------------- 1 file changed, 42 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-mango-water-066693903.yml diff --git a/.github/workflows/azure-static-web-apps-mango-water-066693903.yml b/.github/workflows/azure-static-web-apps-mango-water-066693903.yml deleted file mode 100644 index 377630ab20e9..000000000000 --- a/.github/workflows/azure-static-web-apps-mango-water-066693903.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - 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_MANGO_WATER_066693903 }} - 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: "/out" # 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_MANGO_WATER_066693903 }} - action: "close" From d5f87387490982f2580cf4514cc1933750a374e8 Mon Sep 17 00:00:00 2001 From: rudolftelit <155717964+rudolftelit@users.noreply.github.com> Date: Wed, 15 Jan 2025 13:58:24 +0100 Subject: [PATCH 5/8] Update azure-static-web-apps-purple-glacier-0dc371903.yml --- .../azure-static-web-apps-purple-glacier-0dc371903.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-purple-glacier-0dc371903.yml b/.github/workflows/azure-static-web-apps-purple-glacier-0dc371903.yml index b60945dcf342..4a27ecf411a3 100644 --- a/.github/workflows/azure-static-web-apps-purple-glacier-0dc371903.yml +++ b/.github/workflows/azure-static-web-apps-purple-glacier-0dc371903.yml @@ -4,10 +4,6 @@ on: push: branches: - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main jobs: build_and_deploy_job: From 1df1bec796a772d4318225910d354960ce5ce12b Mon Sep 17 00:00:00 2001 From: rudolftelit <155717964+rudolftelit@users.noreply.github.com> Date: Thu, 16 Jan 2025 08:32:08 +0100 Subject: [PATCH 6/8] Update azure-static-web-apps-purple-glacier-0dc371903.yml --- .../azure-static-web-apps-purple-glacier-0dc371903.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/azure-static-web-apps-purple-glacier-0dc371903.yml b/.github/workflows/azure-static-web-apps-purple-glacier-0dc371903.yml index 4a27ecf411a3..912abf45233a 100644 --- a/.github/workflows/azure-static-web-apps-purple-glacier-0dc371903.yml +++ b/.github/workflows/azure-static-web-apps-purple-glacier-0dc371903.yml @@ -5,6 +5,11 @@ on: 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') From 03aff0914c470a29670c058bc95e637025532005 Mon Sep 17 00:00:00 2001 From: rudolftelit <155717964+rudolftelit@users.noreply.github.com> Date: Thu, 16 Jan 2025 09:58:34 +0100 Subject: [PATCH 7/8] Create self_created.yml --- .github/workflows/self_created.yml | 45 ++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/self_created.yml diff --git a/.github/workflows/self_created.yml b/.github/workflows/self_created.yml new file mode 100644 index 000000000000..b246075c1313 --- /dev/null +++ b/.github/workflows/self_created.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@v2 + with: + submodules: true + - 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_PURPLE_GLACIER_0DC371903 }} # change this to your repository secret name + 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: Azure/static-web-apps-deploy@v1 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PURPLE_GLACIER_0DC371903 }} # change this to your repository secret name + action: "close" From f9fa4ff965da26cc0a0bc5bb4939ab674de7ca29 Mon Sep 17 00:00:00 2001 From: rudolftelit <155717964+rudolftelit@users.noreply.github.com> Date: Thu, 16 Jan 2025 09:59:07 +0100 Subject: [PATCH 8/8] Update azure-static-web-apps-purple-glacier-0dc371903.yml