Commit e94a113 liukj
committed
1 parent 2f96efe commit e94a113 Copy full SHA for e94a113
File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 71
71
- name : Build Documentation
72
72
run : |
73
73
sed -i "s/VERSION/$CURRENT_REF/" docs/data/quick_start.yaml
74
+ grep "version:" docs/data/quick_start.yaml
74
75
(cd docs && OUTPUT=$(pwd)/../docs-output make docs-build docs-place-redirect)
75
76
76
77
- name : Commit and Push Changes to Docs Repo
@@ -94,13 +95,15 @@ jobs:
94
95
echo "Switching to main branch and rebuilding docs for 'latest'"
95
96
96
97
# Checkout the main branch of the product repo to rebuild docs for "latest"
98
+ git checkout docs/data/quick_start.yaml
97
99
git checkout main
98
100
99
101
# Ensure the latest changes are pulled
100
102
git pull origin main
101
103
102
104
# Build Docs for Main Branch (latest)
103
105
sed -i "s/VERSION/$CURRENT_REF/" docs/data/quick_start.yaml
106
+ grep "version:" docs/data/quick_start.yaml
104
107
(cd docs && OUTPUT=$(pwd)/../docs-output VERSION="main" BRANCH="main" make docs-build docs-place-redirect)
105
108
106
109
# Commit and Push Latest Docs to Main
You can’t perform that action at this time.
0 commit comments