You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by jr...@apache.org on 2023/02/13 11:07:11 UTC

[incubator-pekko] branch main updated: fix nightly doc publishing to create target directory first (#176)

This is an automated email from the ASF dual-hosted git repository.

jrudolph pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new f3fdd13441 fix nightly doc publishing to create target directory first (#176)
f3fdd13441 is described below

commit f3fdd134414cc4018f2c19c6d30b7432d7e72841
Author: Johannes Rudolph <jo...@gmail.com>
AuthorDate: Mon Feb 13 12:07:05 2023 +0100

    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...
---
 .github/workflows/publish-nightly-docs.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/publish-nightly-docs.yml b/.github/workflows/publish-nightly-docs.yml
index db24a05adf..b5de6f34c4 100644
--- a/.github/workflows/publish-nightly-docs.yml
+++ b/.github/workflows/publish-nightly-docs.yml
@@ -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 }}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org