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:
Johannes Rudolph 2023-02-13 12:07:05 +01:00 committed by GitHub
parent 449296fe8a
commit f3fdd13441
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}