From 6504981742a0e2d4bcb7f954c706c83d1c34e860 Mon Sep 17 00:00:00 2001 From: Paulov-t Date: Tue, 3 Dec 2024 10:39:50 +0000 Subject: [PATCH] Update to remove app build from workflow --- ...e-static-web-apps-icy-flower-0da80b803.yml | 46 ------------------- ...re-static-web-apps-jolly-sky-012a20703.yml | 46 ------------------- ...c-web-apps-victorious-forest-016c33003.yml | 3 +- 3 files changed, 2 insertions(+), 93 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-icy-flower-0da80b803.yml delete mode 100644 .github/workflows/azure-static-web-apps-jolly-sky-012a20703.yml diff --git a/.github/workflows/azure-static-web-apps-icy-flower-0da80b803.yml b/.github/workflows/azure-static-web-apps-icy-flower-0da80b803.yml deleted file mode 100644 index b9e395b..0000000 --- a/.github/workflows/azure-static-web-apps-icy-flower-0da80b803.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_ICY_FLOWER_0DA80B803 }} - 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" # 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_ICY_FLOWER_0DA80B803 }} - action: "close" diff --git a/.github/workflows/azure-static-web-apps-jolly-sky-012a20703.yml b/.github/workflows/azure-static-web-apps-jolly-sky-012a20703.yml deleted file mode 100644 index 5c20f17..0000000 --- a/.github/workflows/azure-static-web-apps-jolly-sky-012a20703.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_JOLLY_SKY_012A20703 }} - 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_JOLLY_SKY_012A20703 }} - action: "close" diff --git a/.github/workflows/azure-static-web-apps-victorious-forest-016c33003.yml b/.github/workflows/azure-static-web-apps-victorious-forest-016c33003.yml index 6bbbb1b..e7bd2b5 100644 --- a/.github/workflows/azure-static-web-apps-victorious-forest-016c33003.yml +++ b/.github/workflows/azure-static-web-apps-victorious-forest-016c33003.yml @@ -42,8 +42,9 @@ jobs: # 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 + output_location: "/src" # Built app content directory - optional github_id_token: ${{ steps.idtoken.outputs.result }} + skip_app_build: true ###### End of Repository/Build Configurations ###### close_pull_request_job: