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 - deploy docs to gh-pages on push to main #7237

Merged

Conversation

ajkerrigan
Copy link
Member

During a push to main, we already build docs. This PR adds a step to publish those built docs to GitHub Pages using this GitHub action.

This came out of some discussion with @castrojo who came across the action and wondered if/where/how it would fit into our process. Looks like it can slot in nicely right after the build we already run, as long as we set the source & target folders appropriately. Tested in my fork here.

@ajkerrigan ajkerrigan requested a review from thisisshi May 4, 2022 21:32
@ajkerrigan ajkerrigan requested a review from kapilt as a code owner May 4, 2022 21:32
@ajkerrigan ajkerrigan merged commit 363f154 into cloud-custodian:master May 5, 2022
@ajkerrigan ajkerrigan deleted the docs/sphinx-to-gh-pages branch May 5, 2022 18:35
@kapilt
Copy link
Collaborator

kapilt commented May 5, 2022

we also need to disable drone else they'll both try to overwrite.

@ajkerrigan
Copy link
Member Author

ajkerrigan commented May 5, 2022

we also need to disable drone else they'll both try to overwrite.

Cool sounds good to me, I just don't recall if drone was also responsible for the piece that yoinks github pages to s3 so cloudcustodian.io would be updated. If that's entirely separate, then I guess drone could be deactivated now?

(Just noticed we're tracking the move away from drone in #6786)

shineyb pushed a commit to shineyb/cloud-custodian that referenced this pull request May 12, 2022
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.

3 participants