diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml index 5ea386b559..a0b5e0a8c5 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/jekyll-gh-pages.yml @@ -46,6 +46,8 @@ jobs: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} + outputs: + page_url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build steps: @@ -57,11 +59,10 @@ jobs: runs-on: ubuntu-latest needs: deploy steps: - - name: IndexNow Action for JNet + - name: IndexNow Action uses: bojieyang/indexnow-action@v2 with: - sitemap-location: 'https://jnet.masesgroup.com/sitemap.xml' + sitemap-location: '${{ needs.deploy.outputs.page_url }}sitemap.xml' key: ${{ secrets.INDEXNOW_KEY }} - since-unit: week limit: 10000 - timeout: 600000 \ No newline at end of file + timeout: 600000