Skip to content

Commit 7345056

Browse files
committed
Fix continuous integration workflow
1 parent 51417e1 commit 7345056

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI/CD build
22

33
on:
44
push:
5-
branches: [ "main", "5.0.x" ]
5+
branches: [ "main" ]
66

77
jobs:
88
build:
@@ -28,7 +28,7 @@ jobs:
2828
- name: Generate Java docs
2929
run: mvn javadoc:aggregate
3030

31-
- name: Generate Reference docs
31+
- name: Generate Assembly
3232
working-directory: spring-batch-docs
3333
run: mvn site
3434

@@ -45,13 +45,12 @@ jobs:
4545
chmod 600 "$HOME/.ssh/key"
4646
echo "$DOCS_SSH_HOST_KEY" > "$HOME/.ssh/known_hosts"
4747
48-
- name: Deploy docs
48+
- name: Deploy Java docs
4949
env:
5050
DOCS_HOST: ${{ secrets.DOCS_HOST }}
5151
DOCS_PATH: ${{ secrets.DOCS_PATH }}
5252
DOCS_USERNAME: ${{ secrets.DOCS_USERNAME }}
5353
working-directory: spring-batch-docs
5454
run: |
55-
cd target && unzip spring-batch-$PROJECT_VERSION-docs.zip
55+
cd target && unzip spring-batch-$PROJECT_VERSION-javadocs.zip
5656
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

0 commit comments

Comments
 (0)