Skip to content

Commit

Permalink
Update IndexNow
Browse files Browse the repository at this point in the history
  • Loading branch information
masesdevelopers authored Sep 24, 2024
1 parent 6e6cf79 commit ee824f4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ jobs:
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Setup IndexNow # Generate files dynamically to prevent them from being leaked in public repositories.
run: echo ${{ secrets.INDEXNOW_KEY }} > ./docs/${{ secrets.INDEXNOW_KEY }}.txt
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
source: ./docs/
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand All @@ -50,3 +52,16 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

indexing:
runs-on: ubuntu-latest
needs: deploy
steps:
- name: IndexNow Action for JNet
uses: bojieyang/indexnow-action@v2
with:
sitemap-location: 'https://jnet.masesgroup.com/sitemap.xml'
key: ${{ secrets.INDEXNOW_KEY }}
since-unit: week
limit: 10000
timeout: 600000
1 change: 0 additions & 1 deletion docs/d8b8bd4e12b04559b53419cc8b571873.txt

This file was deleted.

0 comments on commit ee824f4

Please sign in to comment.