SRGSSR / rts-development-guidelines

Guides and templates for standardizing project quality at RTS
https://srgssr.github.io/rts-development-guidelines/
MIT License
2 stars 0 forks source link

ci: add pull request previews #10

Closed jboix closed 8 months ago

jboix commented 8 months ago

Description

Introduces pull request previews using rossjrw/pr-preview-action. This new workflow enables us to review both visual and functional changes before merging.

The preview functionality work in the following manner:

  1. Triggering a Preview: Whenever a pull request is either opened, re-opened, or updated, the contents of the public directory are copied under pr-preview/pr-${github.ref} located in the gh-pages branch.

  2. Cleaning Up: Once a pull request is closed, the corresponding preview folder (specific to the closed pull request) is deleted.

github-actions[bot] commented 8 months ago

PR Preview Action v1.4.7 :---: Preview removed because the pull request was closed. 2024-02-20 16:19 UTC