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

Automatically publish oddleventy docs #28

Merged
merged 2 commits into from
Nov 7, 2022
Merged

Automatically publish oddleventy docs #28

merged 2 commits into from
Nov 7, 2022

Conversation

jerivas
Copy link
Member

@jerivas jerivas commented Nov 5, 2022

Description

Use GH Actions to automatically build and publish documentation on every release.

  1. On each stable release the publish-docs.yml workflow is called
  2. yarn herman outputs to the docs/ folder
  3. The docs/ folder is pushed to the oddleventy-docs branch
  4. Netlify picks up the new commit on this branch and re-deploys the site at https://blend-docs.netlify.app/blend/docs
  5. oddbird.net proxies the Netlify site under the /blend/docs/ path (after we merge Use Netlify redirects to host docs oddleventy#268)

I also added the option of running the workflow on demand. This should allow us to rebuild docs without having to create a release.

@jerivas jerivas requested a review from jgerigmeyer November 5, 2022 00:07
@jgerigmeyer jgerigmeyer merged commit a0f8ff3 into master Nov 7, 2022
@jgerigmeyer jgerigmeyer deleted the auto-docs branch November 7, 2022 19:42
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