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 a GitHub Actions workflow to build and publish the docs #144

Merged
merged 1 commit into from
Feb 16, 2023
Merged

Add a GitHub Actions workflow to build and publish the docs #144

merged 1 commit into from
Feb 16, 2023

Conversation

keithchev
Copy link
Contributor

This PR adds a GitHub Actions workflow to build and publish the docs to the repo's GitHub Pages site (which is czbiohub.github.io/copylot). The action is triggered on pushes to main and can also be triggered manually from the 'Actions' tab of the repo's main github page.

Note that in order for this workflow to be triggered, it must first be merged into main, and then a repo admin must set the 'source' for the repo's pages site to 'github actions' (instead of 'deploy from a branch'). This setting is in the 'pages' section of the repo settings.

Note that using github actions to deploy static assets to github pages is still in beta. I tested this workflow on my fork and it appears to work as expected.

Copy link
Contributor

@AhmetCanSolak AhmetCanSolak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @keithchev, looks great. I think we can give this beta feature a try.

@AhmetCanSolak AhmetCanSolak merged commit dbbcb98 into czbiohub-sf:main Feb 16, 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

Successfully merging this pull request may close these issues.

2 participants