File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: CI/CD build
2
2
3
3
on :
4
4
push :
5
- branches : [ "main", "5.0.x" ]
5
+ branches : [ "main" ]
6
6
7
7
jobs :
8
8
build :
28
28
- name : Generate Java docs
29
29
run : mvn javadoc:aggregate
30
30
31
- - name : Generate Reference docs
31
+ - name : Generate Assembly
32
32
working-directory : spring-batch-docs
33
33
run : mvn site
34
34
@@ -45,13 +45,12 @@ jobs:
45
45
chmod 600 "$HOME/.ssh/key"
46
46
echo "$DOCS_SSH_HOST_KEY" > "$HOME/.ssh/known_hosts"
47
47
48
- - name : Deploy docs
48
+ - name : Deploy Java docs
49
49
env :
50
50
DOCS_HOST : ${{ secrets.DOCS_HOST }}
51
51
DOCS_PATH : ${{ secrets.DOCS_PATH }}
52
52
DOCS_USERNAME : ${{ secrets.DOCS_USERNAME }}
53
53
working-directory : spring-batch-docs
54
54
run : |
55
- cd target && unzip spring-batch-$PROJECT_VERSION-docs .zip
55
+ cd target && unzip spring-batch-$PROJECT_VERSION-javadocs .zip
56
56
scp -i $HOME/.ssh/key -r api $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$PROJECT_VERSION
57
- scp -i $HOME/.ssh/key -r reference $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$PROJECT_VERSION
You can’t perform that action at this time.
0 commit comments