Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Simplify publish_docs workflow (#749)
(note: this is a re-submit of #747 to resolve CI issues.) from [janbrasna](https://github.com/janbrasna) The current docs build takes several minutes, the toolchain setup doesn't really do anything, and the workflow is triggered from unexpected events (probably not doing what it was believed to do) — so this is an attempt to simplify, and speed up. The main issues are: the curl doesn't run due to -y error; OTOH neither rustup nor cargo needs any manual setting up here… the on:check_run doesn't imply successful build, but more importantly triggers also outside of master/PRs basically on any branch anywhere commit checks are run, publishing docs on pretty much any push to any ref unnecessarily. something in the build of validator_derive (either validator, grpcio or google-cloud-rust-raw) takes ~6-7mins to build, basically 99% of the whole workflow run, so question is whether to switch to binaries or caching? The used Node 16 actions raise deprecation warnings, need updating. Logs: before: runs/10327553562 (triggered from RRM181 PR check that hasn't landed yet) after: job/28971156482#step:6:1 after cache: job/28972053092#step:6:1 More detailed explainers are in [the changeset](#747).
- Loading branch information