From 1c1c73910b1336822dfb356c63dc25cc0b8222ac Mon Sep 17 00:00:00 2001 From: Wanjohi Date: Sat, 6 Sep 2025 04:38:13 +0300 Subject: [PATCH] fix: Remove unnecessary workflows --- .github/workflows/docs.yml | 40 -------------------------------------- .github/workflows/www.yml | 40 -------------------------------------- 2 files changed, 80 deletions(-) delete mode 100644 .github/workflows/docs.yml delete mode 100644 .github/workflows/www.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index 62b4457a..00000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Build docs - -on: - pull_request: - paths: - - "apps/docs/**" - - ".github/workflows/docs.yml" - push: - branches: [dev] - paths: - - "apps/docs/**" - - ".github/workflows/docs.yml" - -jobs: - deploy-docs: - name: Build and deploy docs - runs-on: ubuntu-latest - defaults: - run: - working-directory: "apps/docs" - steps: - - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v1 - with: - bun-version: latest - - name: Install dependencies - run: bun install - - name: Build Project Artifacts - run: bun run build - - name: Deploy Project Artifacts to Cloudflare - uses: cloudflare/wrangler-action@v3 - with: - packageManager: bun - apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - wranglerVersion: "3.93.0" - workingDirectory: "apps/docs" - command: pages deploy ./dist --project-name=${{ vars.CF_DOCS_PAGES_PROJECT_NAME }} --commit-dirty=true - env: - CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} diff --git a/.github/workflows/www.yml b/.github/workflows/www.yml deleted file mode 100644 index 1cde4a82..00000000 --- a/.github/workflows/www.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Build www - -on: - pull_request: - paths: - - "apps/www/**" - - ".github/workflows/www.yml" - push: - branches: [dev] - paths: - - "apps/www/**" - - ".github/workflows/www.yml" - -jobs: - deploy-www: - name: Build and deploy www - runs-on: ubuntu-latest - defaults: - run: - working-directory: "apps/www" - steps: - - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v1 - with: - bun-version: latest - - name: Install dependencies - run: bun install - - name: Build Project Artifacts - run: bun run build - - name: Deploy Project Artifacts to Cloudflare - uses: cloudflare/wrangler-action@v3 - with: - packageManager: bun - apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - wranglerVersion: "3.93.0" - workingDirectory: "apps/www" - command: pages deploy ./dist --project-name=${{ vars.CF_WWW_PAGES_PROJECT_NAME }} --commit-dirty=true - env: - CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}