From c22e08156334e2642bc1781d96c8545d2d39fbc4 Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Wed, 1 Oct 2025 22:00:05 +0700 Subject: [PATCH] Remove GitHub Pages deployment from workflow Eliminates the job responsible for deploying to GitHub Pages in the workflow, leaving only the CloudFlare Pages deployment. This streamlines deployment targets and reduces redundancy. --- .github/workflows/hugo.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 20cead0..0da79a5 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -98,16 +98,6 @@ jobs: with: path: ./public deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 - deploy-cloudflare: runs-on: ubuntu-latest name: Deploy to CloudFlare Pages needs: build @@ -131,7 +121,7 @@ jobs: submit-indexnow: runs-on: ubuntu-latest name: Check and submit to IndexNow - needs: deploy-cloudflare + needs: deploy steps: - name: indexnow-action uses: bojieyang/indexnow-action@v2