Skip to content

Merge branch 'main' of https://github.com/chandujr/indicvarnamala #10

Merge branch 'main' of https://github.com/chandujr/indicvarnamala

Merge branch 'main' of https://github.com/chandujr/indicvarnamala #10

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 add sitemap.xml
git commit -m "Update sitemap.xml" || echo "No changes to commit"
git push