cicirello/generate-sitemap
Generate an XML sitemap for a GitHub Pages site using GitHub Actions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path-to-root | The path to the root of the website | no | . |
| base-url-path | The url of your webpage | no | https://web.address.of.your.nifty.website/ |
| include-html | Indicates whether to include html files in the sitemap. | no | true |
| include-pdf | Indicates whether to include pdf files in the sitemap. | no | true |
| sitemap-format | Indicates if sitemap should be formatted in xml. | no | xml |
| additional-extensions | Space separated list of additional file extensions to include in sitemap. | no | "" |
| drop-html-extension | Enables dropping .html from urls in sitemap. | no | false |
| date-only | Pass true to include only the date without the time in XML sitemaps; and false to include full date and time. | no | false |
| exclude-paths | Space separated list of paths to exclude from the sitemap. | no | "" |
Outputs
| name | description |
|---|---|
| sitemap-path | The path to the generated sitemap file. |
| url-count | The number of entries in the sitemap. |
| excluded-count | The number of html files excluded from sitemap due to noindex meta tag. |