mirror of
https://github.com/tiennm99/miti99.git
synced 2026-09-10 04:19:57 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user