File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Copy contents
4
+ mkdir gh-pages
5
+ cp -r ./docs/_build/dirhtml/. gh-pages
6
+
7
+ # Create gh-pages branch
8
+ cd gh-pages
9
+ git init
10
+ git config --local user.email
" [email protected] "
11
+ git config --local user.name " GitHub Action"
12
+ git remote add origin " https://x-access-token:${GITHUB_TOKEN} @github.com/${GITHUB_REPOSITORY} .git"
13
+ git checkout -b gh-pages
14
+
15
+ # Deploy
16
+ git add .
17
+ git commit -m " Publish docs" || true
18
+ git push origin gh-pages --force
Original file line number Diff line number Diff line change 14
14
mvn javadoc:javadoc -T 1C
15
15
[ -d $OUTPUT_DIR ] && rm -r $OUTPUT_DIR
16
16
mkdir -p " $OUTPUT_DIR "
17
- mv -f core/target/site/apidocs/* $OUTPUT_DIR
17
+ mv -f driver- core/target/site/apidocs/* $OUTPUT_DIR
You can’t perform that action at this time.
0 commit comments