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

ci: forks push the docs to branch gh-pages #920

Merged
merged 1 commit into from Apr 19, 2023
Merged

Conversation

umarcor
Copy link
Member

@umarcor umarcor commented Mar 11, 2023

Currently, documentation is only published when CI is run in this repo. That's because it's pushed to repo VUnit/vunit.github.io, which forks do not have write access to.
However, forks can use branch gh-pages to have docs published at user.github.io/vunit.
That allows contributors to see changes to the docs using CI, instead of downloading the artifact or building the docs locally.

This PR supports both use cases. In this repo, the secret SSH key is used for updating vunit.github.io. In forks, branch gh-pages is updated using the default token.

@eine eine added this to the v4.7.0 milestone Mar 11, 2023
@eine eine merged commit bc8e115 into VUnit:master Apr 19, 2023
14 checks passed
@umarcor umarcor deleted the umarcor/pages branch April 19, 2023 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants