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

github action that creates gh-pages branch to host presentation #5

Open
bvreede opened this issue Dec 22, 2022 · 2 comments
Open

github action that creates gh-pages branch to host presentation #5

bvreede opened this issue Dec 22, 2022 · 2 comments

Comments

@bvreede
Copy link
Member

bvreede commented Dec 22, 2022

No description provided.

@OleMussmann
Copy link

You can set that up under the Pages settings.

  1. First, create a branch e.g. called 'publish'
  2. Go to Settings -> Pages
  3. Source: deploy from branch
  4. Select branch: publish
  5. Select folder: root

Now whenever you push to the 'publish' branch, the corresponding github pages site will be updated.

@Peter9192
Copy link
Member

I think we can even go a step further and add a GH action that builds the page first, then pushes it to the GH pages branch. See e.g.

https://github.com/eucp-project/storyboards/blob/main/.github/workflows/cd.yml (very simple)
https://github.com/i-VRESSE/workflow-builder/blob/main/.github/workflows/pages.yml (newer, probably better)

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

3 participants