SRGSSR / pillarbox-web-demo

Demo application for the pillarbox-web
https://github.com/SRGSSR/pillarbox-web/
MIT License
2 stars 0 forks source link

ci: add pull request previews #12

Closed jboix closed 7 months ago

jboix commented 7 months ago

Description

Addresses srgssr/pillarbox-web#196 by introducing 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 project undergoes a build process. The contents of the dist 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.

Changes made

github-actions[bot] commented 7 months ago

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