From d198755d25fee2ed1c6cd4ded8189a9a1a421fd7 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sun, 16 Mar 2025 11:19:59 -0600 Subject: [PATCH] chore: remove deploy preview workflow from GitHub Actions - Deleted the deploy preview workflow file as it is no longer needed. - This change simplifies the workflow configuration and reduces maintenance overhead. --- .github/workflows/deploy-preview.yml | 54 ---------------------------- app/src/components/Search.tsx | 2 +- 2 files changed, 1 insertion(+), 55 deletions(-) delete mode 100644 .github/workflows/deploy-preview.yml diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml deleted file mode 100644 index e55c990b..00000000 --- a/.github/workflows/deploy-preview.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: Upload Preview Deployment - -on: - workflow_run: - workflows: - - "Build Preview Deployment" - types: - - completed - -permissions: - actions: write - deployments: write - contents: read - pull-requests: write - -jobs: - on-success: - runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} - steps: - - name: Debug Event - run: | - echo "Event name: ${{ github.event_name }}" - echo "Workflow name: ${{ github.event.workflow.name }}" - echo "Workflow run id: ${{ github.event.workflow_run.id }}" - echo "Workflow run number: ${{ github.event.workflow_run.run_number }}" - echo "Workflow run conclusion: ${{ github.event.workflow_run.conclusion }}" - echo "Workflow run event: ${{ github.event.workflow_run.event }}" - - deploy-preview: - needs: on-success - runs-on: ubuntu-latest - name: Deploy Preview to Cloudflare Pages - steps: - - name: Download artifacts - uses: actions/download-artifact@v4 - with: - name: preview-build - path: build - github-token: ${{ secrets.GITHUB_TOKEN }} - run-id: ${{ github.event.workflow_run.id }} - - - name: List files - run: ls -la build - - - name: Deploy to Cloudflare Pages - uses: AdrianGonz97/refined-cf-pages-action@v1 - with: - apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - githubToken: ${{ secrets.GITHUB_TOKEN }} - projectName: ${{ secrets.CLOUDFLARE_PROJECT_NAME }} - deploymentName: Preview - directory: build \ No newline at end of file diff --git a/app/src/components/Search.tsx b/app/src/components/Search.tsx index f95a7eaf..a114c192 100644 --- a/app/src/components/Search.tsx +++ b/app/src/components/Search.tsx @@ -107,7 +107,7 @@ const Search = () => {