Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add github action that builds on a PR and pushes to staging site for rendering #108

Open
jsheunis opened this issue Feb 8, 2022 · 2 comments

Comments

@jsheunis
Copy link
Member

jsheunis commented Feb 8, 2022

No description provided.

@yarikoptic
Copy link
Member

I believe this is the wishlist request with github on having such a feature for gh-pages: community/community#7730 which points to workarounds like https://github.com/blueedgetechno/win11React/blob/master/.github/workflows/gen-preview.yml .

In principle, it should be possible to

  • create datalad.org-previews/ organization
  • per each new PR create a new fork there (e.g. datalad.org-pr108) with gh-pages enabled
  • use ideas from aforementioned workflow to orchestrate it all and announce preview URL to the PR
  • master workflow would remove "preview" repositories for merged PRs

Sounds like a good idea for a parametrized github action, so there might be one by someone already -- worth doing a bit more googling.

@jsheunis
Copy link
Member Author

jsheunis commented May 9, 2023

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

No branches or pull requests

2 participants