mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-11 12:09:02 +00:00
Revert "Remove GitHub Pages deployment from workflow"
This reverts commit 976d4822a0.
This commit is contained in:
1 parent
976d4822a0
commit
5c042dad73
1 file changed
+11
-1
@@ -98,6 +98,16 @@ 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
|
||||
@@ -121,7 +131,7 @@ jobs:
|
||||
submit-indexnow:
|
||||
runs-on: ubuntu-latest
|
||||
name: Check and submit to IndexNow
|
||||
needs: deploy
|
||||
needs: deploy-cloudflare
|
||||
steps:
|
||||
- name: indexnow-action
|
||||
uses: bojieyang/indexnow-action@v2
|
||||
|
||||
Reference in new issue
Block a user