Skip to content

Commit 4dff2e9

Browse files
committed
Update antora command in CI build
1 parent 351ad05 commit 4dff2e9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ jobs:
6666
scp -i $HOME/.ssh/key -r target/reports/apidocs $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/docs/$PROJECT_VERSION/api
6767
6868
- name: Generate Reference docs
69-
working-directory: spring-shell-docs
70-
run: ../mvnw --no-transfer-progress resources:resources antora
69+
run: ./mvnw antora -pl spring-shell-docs
7170

7271
- name: Deploy Reference docs
7372
uses: spring-io/spring-doc-actions/[email protected]
@@ -76,7 +75,7 @@ jobs:
7675
docs-host: ${{ secrets.DOCS_HOST }}
7776
docs-ssh-key: ${{ secrets.DOCS_SSH_KEY }}
7877
docs-ssh-host-key: ${{ secrets.DOCS_SSH_HOST_KEY }}
79-
site-path: spring-shell-docs/target/site/shell
78+
site-path: spring-shell-docs/target/site
8079

8180
- name: Bust Cloudflare Cache
8281
uses: spring-io/spring-doc-actions/[email protected]

0 commit comments

Comments
 (0)