fix nightly doc publishing to create target directory first (#176)
Former plan did not work because our sync-nighlies scripts automatically adds a trailing slash to the local_path, which fails the rsync invocation...
This commit is contained in:
parent
449296fe8a
commit
f3fdd13441
1 changed files with 5 additions and 1 deletions
6
.github/workflows/publish-nightly-docs.yml
vendored
6
.github/workflows/publish-nightly-docs.yml
vendored
|
|
@ -55,12 +55,16 @@ jobs:
|
|||
run: |-
|
||||
sbt -Dpekko.genjavadoc.enabled=true docs/paradox unidoc
|
||||
|
||||
- name: Make dummy directory
|
||||
run: |-
|
||||
mkdir empty-dir
|
||||
|
||||
- name: Setup nightly docs directory
|
||||
uses: ./.github/actions/sync-nightlies
|
||||
with:
|
||||
upload: true
|
||||
switches: --archive --compress --update --delete --progress
|
||||
local_path: LICENSE # dummy to make rsync create the docs directory first
|
||||
local_path: empty-dir/ # dummy to make rsync create the docs directory first
|
||||
remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko/pekko-docs-${{ github.ref_name }}
|
||||
remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
|
||||
remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue