File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,17 +42,13 @@ jobs:
4242 - run : misc/download-mdbook.sh 0.5.2
4343 env :
4444 OS_NAME : linux
45- - name : Generate the user documentation
46- run : mdbook build --dest-dir book/${SHORT_VERSION}/user-guide/ docs/user-guide/
47- - name : Generate the developer documentation
48- run : mdbook build --dest-dir book/${SHORT_VERSION}/developer-guide/ docs/developer-guide/
4945 - run : git clone -q -b gh-pages https://github.com/$GITHUB_REPOSITORY gh-pages
5046 - name : Remove old files for this version
5147 run : rm -Rf gh-pages/$SHORT_VERSION
52- - name : copy the user documentation content
53- run : cp -R docs/ user-guide/book/* gh-pages /
54- - name : copy the developer documentation content
55- run : cp -R docs/ developer-guide/book/* gh-pages /
48+ - name : Generate the user documentation
49+ run : mdbook build --dest-dir gh-pages/${SHORT_VERSION}/ user-guide/ docs/user-guide /
50+ - name : Generate the developer documentation
51+ run : mdbook build --dest-dir gh-pages/${SHORT_VERSION}/ developer-guide/book/ docs/developer-guide /
5652 - run : git add $SHORT_VERSION
5753 working-directory : gh-pages
5854 - run : git -c user.name='gh-actions' -c user.email='gh-actions' commit --allow-empty -m "add documentation for version $SHORT_VERSION"
You can’t perform that action at this time.
0 commit comments