add warning block for js blocker #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Sitemap | |
on: | |
push: | |
branches: [main] | |
paths: ["**.html"] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
name: Generate a sitemap | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v5 | |
with: | |
fetch-depth: 0 | |
- name: Generate Sitemap | |
id: sitemap | |
uses: cicirello/[email protected] | |
with: | |
base-url-path: https://chandujr.github.io/indicvarnamala/ | |
- name: Commit sitemap | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git diff --quiet && echo "No changes to commit" || (git add sitemap.xml && git commit -m "Update sitemap.xml" && git push) |