Pr Preview Action Versions Save

GitHub Action that deploys a pull request preview to GitHub Pages, similar to Vercel and Netlify, and cleans up after itself.

v1.4.7

3 months ago

Changes

  • Upstream action calls are now pinned to specific SHAs per security hardening best practices. Thank you to @erikwrede for the contribution (#79)

v1.4.6

5 months ago

Bugfixes

v1.4.5

5 months ago

Bugfixes

  • The link to the preview file tree in the PR comment now correctly links to the repo in which the preview is actually deployed, if that's different from the repo the comment was posted in. Thank you to @netomi for this fix (#71)

Documentation

  • The usage of the token parameter has been cleaned up thanks to @vorburger (#64)

v1.4.4

1 year ago

Bugfixes

  • Patched a regression that meant the action could no longer run in a container, introduced in v1.4.3.

v1.4.3

1 year ago

Bugfixes

  • Current action version is now reported in the preview comment, instead of the version of the current repository. (#52)

v1.4.2

1 year ago

Changes

  • set-output (deprecated) has been replaced in favour of a newer output method. Thank you to @noatamir for this contribution (#35)

v1.4.1

1 year ago

Bugfixes

  • Action can now be used in a container. (#45)

v1.4.0

1 year ago

Features

  • Alternate token can now be passed to preview deployment; defaults to GITHUB_TOKEN. Thank you to @MH4GF for the contribution (#38)
  • A different repository can be specified as the deployment target; requires an alternate token. Thank you to @MH4GF for the contribution (#38)

v1.3.2

1 year ago

Bugfixes

  • No longer assumes that a repo with the same name as its org/owner is a GitHub Pages root site (i.e. orgname.github.io). GitHub Pages root repositories are now detected by the repo name being the same as the org/owner name, and ending in .github.io. Thank you to @electrofelix for this contribution. (#39, #40)

v1.3.1

1 year ago

Fixes an error when calling this Action with a pinned commit SHA. (#36)

Thank you to @boneskull for the contribution.