publish documentation during nightlies (#161)
Resolves https://github.com/apache/incubator-pekko/issues/149
This commit is contained in:
parent
b9de316961
commit
9c6a0d8288
1 changed files with 40 additions and 0 deletions
40
.github/workflows/publish-nightly.yml
vendored
40
.github/workflows/publish-nightly.yml
vendored
|
|
@ -124,3 +124,43 @@ jobs:
|
||||||
remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
|
remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
|
||||||
remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
|
remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
|
||||||
remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}
|
remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}
|
||||||
|
|
||||||
|
- name: Build Documentation
|
||||||
|
run: |-
|
||||||
|
sbt -Dpekko.genjavadoc.enabled=true docs/paradox unidoc
|
||||||
|
|
||||||
|
- name: Upload documentation
|
||||||
|
uses: ./.github/actions/sync-nightlies
|
||||||
|
with:
|
||||||
|
upload: true
|
||||||
|
switches: --archive --compress --update --delete --progress
|
||||||
|
local_path: pekko-docs/target/paradox/site/main/
|
||||||
|
remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko/pekko-docs-${{ github.ref_name }}/docs/
|
||||||
|
remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
|
||||||
|
remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
|
||||||
|
remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
|
||||||
|
remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}
|
||||||
|
|
||||||
|
- name: Upload Scala API Docs
|
||||||
|
uses: ./.github/actions/sync-nightlies
|
||||||
|
with:
|
||||||
|
upload: true
|
||||||
|
switches: --archive --compress --update --delete --progress
|
||||||
|
local_path: target/scala-2.13/unidoc
|
||||||
|
remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko/pekko-docs-${{ github.ref_name }}/api/
|
||||||
|
remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
|
||||||
|
remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
|
||||||
|
remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
|
||||||
|
remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}
|
||||||
|
|
||||||
|
- name: Upload Java API Docs
|
||||||
|
uses: ./.github/actions/sync-nightlies
|
||||||
|
with:
|
||||||
|
upload: true
|
||||||
|
switches: --archive --compress --update --delete --progress
|
||||||
|
local_path: target/javaunidoc
|
||||||
|
remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko/pekko-docs-${{ github.ref_name }}/japi/
|
||||||
|
remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
|
||||||
|
remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
|
||||||
|
remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
|
||||||
|
remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue