Generate Sitemap Versions Save

Generate an XML sitemap for a GitHub Pages site using GitHub Actions

v1.10.0

6 months ago

[1.10.0] - 2023-11-15

Added

  • Ability to specify list of paths to exclude from sitemap, via new input exclude-paths.

Dependencies

  • Bump cicirello/pyaction from 4.25.0 to 4.26.0

v1.9.2

7 months ago

[1.9.2] - 2023-10-05

Fixed

  • Fix minor bug in regex used to detect if a page has a meta robots noindex directive in head.

CI/CD

  • Bump Python to 3.12 in CI/CD workflows when running unit tests.

Dependencies

  • Bump cicirello/pyaction from 4.14.1 to 4.25.0, including upgrading Python within the Docker container to 3.12.

v1.9.1

1 year ago

[1.9.1] - 2023-01-16

Fixed

  • Case-insensitive check for <meta name="robots" content="noindex"> in head of html files.
  • Correct handling of <meta content="noindex" name="robots"> (i.e., content before name).

Dependencies

  • Bump cicirello/pyaction from 4.12.0 to 4.14.1

v1.9.0

1 year ago

[1.9.0] - 2022-10-25

Added

  • Option to include dates only in the lastmod fields of XML sitemaps. Default includes full date-time.

CI/CD

  • Bump Python to 3.11 in CI/CD workflows.

Dependencies

  • Bump cicirello/pyaction from 4.11.1 to 4.12.0, which includes upgrading Python in the Docker container to 3.11.0.

v1.8.6

1 year ago

[1.8.6] - 2022-10-24

Fixed

  • Some users may be using the action on a self-hosted runner not yet updated to a version supporting the new GitHub Actions GITHUB_OUTPUT environment file. This patch adds backwards compatibility for those users (e.g., it falls back to using the deprecated set-output if GITHUB_OUTPUT doesn't exist).

Dependencies

  • Bump cicirello/pyaction from 4.11.0 to 4.11.1

v1.8.5

1 year ago

[1.8.5] - 2022-10-20

Fixed

  • Replaced the usage of GitHub Action's deprecated set-output with the new $GITHUB_OUTPUT env file.
  • Handle alternate casing of boolean inputs in GitHub workflow YAML files (previously expected lowercase).
  • Refactored entrypoint for improved maintainability, and ease of planned new functionality.

Dependencies

  • Bumped pyaction from 4.7.0 to 4.11.0, which includes upgrading Python in the Docker container to 3.10.7.

v1.8.4

1 year ago

[1.8.4] - 2022-08-03

Changed

  • Refactored index.html dropping logic to ease support for additional dropped index filenames.

Fixed

Dependencies

  • Bumped base docker image cicirello/pyaction from 4.3.1 to 4.7.0.

New Contributors

v1.8.3

2 years ago

[1.8.3] - 2022-04-22

Fixed

  • Corrected check for robots noindex directive in case when non-utf8 characters present in an html file.
  • Disabled pycache to protect against potential future bug. Currently no imports so no pycache created, but if future versions import local py modules, a pycache would be created during run in repo. Disabled creation of pycache now to avoid.

Dependencies

  • Bumped base Docker image cicirello/pyaction from 4.2.0 to 4.3.1.

v1.8.2

2 years ago

[1.8.2] - 2022-03-04

Changed

  • Bumped Python to 3.10.
  • Bumped base Docker image to pyaction 4.2.0.
  • Now pulls base Docker image from the GitHub Container Registry rather than Docker Hub under the assumption that pulling from GitHub from GitHub Actions is likely faster than from Docker Hub.

v1.8.1

2 years ago

[1.8.1] - 2021-07-29

Changed

  • Upgraded base docker image to cicirello/pyaction:4.