Extend the CI build workflow to deploy a preview#1
Closed
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 targetmasterin 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(typicallygh-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.