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.
This commit is contained in:
2025-10-01 22:00:05 +07:00
parent 2189e9d074
commit c22e081563
+1 -11
View File
@@ -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