mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-08 12:11:11 -06:00
switch to rsync
This commit is contained in:
13
.github/workflows/release-book-website.yml
vendored
13
.github/workflows/release-book-website.yml
vendored
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user