Skip to content
Snippets Groups Projects
Unverified Commit 5145e936 authored by Jeff Bruemmer's avatar Jeff Bruemmer Committed by GitHub
Browse files

add step to fetch master docs on release (#23611)

parent ea1613db
No related branches found
No related tags found
No related merge requests found
......@@ -20,8 +20,10 @@
(u/sh {:dir dir} "git" "checkout" website-branch))
(u/step "Install npm dependencies"
(u/sh {:dir dir} "npm" "ci"))
(u/step "Run docs script"
(u/step "Fetch release branch docs"
(u/sh {:dir dir} "./script/docs" tag "--latest"))
(u/step "Fetch master docs"
(u/sh {:dir dir} "./script/docs" "master" "--set-version" "master"))
(u/step "Commit updated docs"
(u/sh {:dir dir} "git" "add" ".")
(u/sh* {:dir dir} "git" "commit" "-m" tag))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment