Skip to content

Extend the CI build workflow to deploy a preview#1

Closed
MakisH wants to merge 5 commits intoci-buildfrom
ci-build-deploy
Closed

Extend the CI build workflow to deploy a preview#1
MakisH wants to merge 5 commits intoci-buildfrom
ci-build-deploy

Conversation

@MakisH
Copy link
Copy Markdown
Owner

@MakisH MakisH commented Mar 31, 2026

Extends the workflow suggested in DE-RSE#99 to deploy PR previews with the unofficial GitHub Action rossjrw/pr-preview-action.

Since it depends on DE-RSE#99, I have set the base branch to my ci-build, to track the differences. It should target master in the end.

I have not used this anywhere else yet, but we have considered it in our project's website: precice/precice.github.io#107

If we were to look into this direction, this Action requires changing the workflow permissions, which a repository owner would need to apply.

Update: This Action works with pushing to the branch used by GitHub Pages. This would only make sense if we actually deploy from a different branch than master (typically gh-pages).

This seems to work, but the website needs further configuration to correctly source the CSS files. See, for example: https://makish.github.io/de-rse-chapter/muc/

I leave it here as an experiment, I might pick it up again in the future.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 31, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://MakisH.github.io/de-rse-chapter/pr-preview/pr-1/

Built to branch gh-pages at 2026-03-31 12:41 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@MakisH MakisH closed this Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant