Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves #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. Additional workflowchanges include: - The `JamesIves/github-pages-deploy-action` has been updated from version 3 to version 4. This update introduces the following configurations to this action: - `force: false`: This disables force push to the deployment branch. - `clean-exclude: pr-preview/`: This prevents the deletion of PR previews when the main branch is deployed.
- Loading branch information