Skip to content

Commit ea75a1a

Browse files
committed
switch to rsync
1 parent 9e4e03b commit ea75a1a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release-book-website.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,14 @@ jobs:
6666
cd /app/book
6767
make -j -O bake
6868
- name: copy book to downloads server
69-
uses: appleboy/scp-action@v0.1.7
69+
uses: burnett01/rsync-deployments@7.0.2
7070
with:
71-
host: ${{ secrets.SSH_HOST }}
72-
username: ${{ secrets.SSH_USERNAME }}
73-
key: ${{ secrets.SSH_KEY }}
74-
source: "book/release/*.pdf,book/release/*.epub"
75-
target: "~/downloads/the-sourdough-framework"
71+
switches: "-avzr"
72+
remote_host: ${{ secrets.SSH_HOST }}
73+
remote_user: ${{ secrets.SSH_USERNAME }}
74+
remote_key: ${{ secrets.SSH_KEY }}
75+
path: "book/release/*"
76+
remote_path: "~/downloads/the-sourdough-framework/"
7677
- name: Release baked book to S3
7778
uses: shallwefootball/s3-upload-action@master
7879
with:

0 commit comments

Comments
 (0)