Skip to content

Commit

Permalink
Update publish-1.0-docs.yml (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Aug 2, 2023
1 parent 6d2c184 commit ea6bdfa
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/publish-1.0-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
cp -r target/javaunidoc target/nightly-docs/docs/pekko-http/1.0/japi
rm -r target/javaunidoc
- name: Upload nightly docs
- name: Upload 1.0.x nightly docs
uses: ./.github/actions/sync-nightlies
with:
upload: true
Expand All @@ -55,3 +55,15 @@ jobs:
remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}

- name: Upload 1.0 nightly docs
uses: ./.github/actions/sync-nightlies
with:
upload: true
switches: --archive --compress --update --delete --progress --relative
local_path: target/nightly-docs/./docs/pekko-http/1.0 # The intermediate dot is to show `--relative` which paths to operate on
remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko/
remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}

0 comments on commit ea6bdfa

Please sign in to comment.