-
Notifications
You must be signed in to change notification settings - Fork 36
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
DOP-4247: Build Artifacts #1000
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is super cool!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the output looks great! a couple comments below for usage of artifacts between Access Build Data
to Build Snooty
steps
also, guessing this is from a previous commit, but this action shows artifact with name lighthouse-cloud-docs.zip
- where is the lighthouse
coming from?
run: | | ||
npm ci --legacy-peer-deps | ||
npm run build | ||
- name: Save Artifact |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
laying the law for DOP-4248 ❤️
Refactored with all feedback taken into account. Also, for cleanliness, depending on a new env var |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Stories/Links:
DOP-4247
Links to Builds:
Cloud-docs
Server Docs
^ note above you can download the build artifacts
Notes:
This PR utilizes the new (PR) Github Action to download latest build data of the desired project, build the docs site, and save the build bundle to an Artifact.
I've set up one workflow for each desired project.
Because of using data from the Snooty Data API, even with mimicking the structure of our manifest files, there were minimal changes necessary to ingest this within Snooty.