From f0151a9d3066d129f9b64b30bf925cac38f0db6f Mon Sep 17 00:00:00 2001 From: Siarhei Bareika Date: Mon, 17 Mar 2025 10:55:37 +0100 Subject: [PATCH] ci: enable main branch trigger and remove obsolete deployment workflow --- ...static-web-apps-white-meadow-0907f6903.yml | 4 +- .github/workflows/cd-web.yaml | 37 ------------------- 2 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 .github/workflows/cd-web.yaml diff --git a/.github/workflows/azure-static-web-apps-white-meadow-0907f6903.yml b/.github/workflows/azure-static-web-apps-white-meadow-0907f6903.yml index fc8f5e08..6a4cf184 100644 --- a/.github/workflows/azure-static-web-apps-white-meadow-0907f6903.yml +++ b/.github/workflows/azure-static-web-apps-white-meadow-0907f6903.yml @@ -2,8 +2,8 @@ name: Azure Static Web Apps CI/CD on: push: - # branches: - # - main + branches: + - main pull_request: types: [opened, synchronize, reopened, closed] branches: diff --git a/.github/workflows/cd-web.yaml b/.github/workflows/cd-web.yaml deleted file mode 100644 index ea55d76c..00000000 --- a/.github/workflows/cd-web.yaml +++ /dev/null @@ -1,37 +0,0 @@ -name: Deploy Frontend - -on: - push: - branches: - - rrr - -jobs: - build: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./web - steps: - - uses: actions/checkout@v4 - - - name: Install pnpm - uses: pnpm/action-setup@v4 - - - name: Use Node.js - uses: actions/setup-node@v4 - with: - cache: 'pnpm' - - - name: Install dependencies - run: pnpm install - - - name: Build - run: pnpm run build - - - name: Upload - id: upload - uses: Azure/static-web-apps-deploy@v1 - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ORANGE_FIELD_051345903 }} - action: "upload" - app_location: "./web/build"