File tree Expand file tree Collapse file tree 4 files changed +13
-106
lines changed Expand file tree Collapse file tree 4 files changed +13
-106
lines changed Original file line number Diff line number Diff line change 3939 folder : ' deployment-repository'
4040 signing-key : ${{ secrets.GPG_PRIVATE_KEY }}
4141 signing-passphrase : ${{ secrets.GPG_PASSPHRASE }}
42-
43- - name : Setup SSH key
44- env :
45- DOCS_SSH_KEY : ${{ secrets.DOCS_SSH_KEY }}
46- DOCS_SSH_HOST_KEY : ${{ secrets.DOCS_SSH_HOST_KEY }}
47- run : |
48- mkdir "$HOME/.ssh"
49- echo "$DOCS_SSH_KEY" > "$HOME/.ssh/key"
50- chmod 600 "$HOME/.ssh/key"
51- echo "$DOCS_SSH_HOST_KEY" > "$HOME/.ssh/known_hosts"
52-
53- - name : Capture project version
54- run : echo PROJECT_VERSION=$(./mvnw help:evaluate -Dexpression=project.version --quiet -DforceStdout) >> $GITHUB_ENV
55-
56- - name : Generate Java docs
57- run : ./mvnw --no-transfer-progress javadoc:aggregate
58-
59- - name : Deploy Javadocs
60- env :
61- DOCS_HOST : ${{ secrets.DOCS_HOST }}
62- DOCS_USERNAME : ${{ secrets.DOCS_USERNAME }}
63- DOCS_PATH : /opt/www/domains/spring.io/docs/htdocs/spring-shell
64- run : |
65- ssh -i $HOME/.ssh/key $DOCS_USERNAME@$DOCS_HOST "cd $DOCS_PATH/docs && mkdir -p $PROJECT_VERSION"
66- scp -i $HOME/.ssh/key -r target/reports/apidocs $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/docs/$PROJECT_VERSION/api
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55 - modules/ROOT/nav.adoc
66ext :
77 collector :
8- run :
9- command : mvnw process-resources -pl spring-shell-docs
10- local : true
11- scan :
12- dir : ./target/classes/antora-resources
8+ - run :
9+ command : ./mvnw process-resources -pl spring-shell-docs
10+ local : true
11+ scan :
12+ dir : ./target/classes/antora-resources
13+ - run :
14+ command : ./mvnw javadoc:aggregate
15+ local : true
16+ scan :
17+ clean : true
18+ dir : target/reports/apidocs
19+ into : modules/api/attachments
Original file line number Diff line number Diff line change 9797** xref:appendices/tui/index.adoc[]
9898*** xref:appendices/tui/viewdev.adoc[]
9999*** xref:appendices/tui/catalog.adoc[]
100+ * xref:api:attachment$index.html[Javadoc,role=link-external,window=_blank].
You can’t perform that action at this time.
0 commit comments