switch to rsync

This commit is contained in:
Hendrik Kleinwaechter
2025-03-14 12:37:19 +01:00
parent 9e4e03bcfa
commit ea75a1ac8a

View File

@@ -66,13 +66,14 @@ jobs:
cd /app/book cd /app/book
make -j -O bake make -j -O bake
- name: copy book to downloads server - name: copy book to downloads server
uses: appleboy/scp-action@v0.1.7 uses: burnett01/rsync-deployments@7.0.2
with: with:
host: ${{ secrets.SSH_HOST }} switches: "-avzr"
username: ${{ secrets.SSH_USERNAME }} remote_host: ${{ secrets.SSH_HOST }}
key: ${{ secrets.SSH_KEY }} remote_user: ${{ secrets.SSH_USERNAME }}
source: "book/release/*.pdf,book/release/*.epub" remote_key: ${{ secrets.SSH_KEY }}
target: "~/downloads/the-sourdough-framework" path: "book/release/*"
remote_path: "~/downloads/the-sourdough-framework/"
- name: Release baked book to S3 - name: Release baked book to S3
uses: shallwefootball/s3-upload-action@master uses: shallwefootball/s3-upload-action@master
with: with: