Skip to content

Commit

Permalink
use different rsync deployment action
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaschen committed Dec 7, 2023
1 parent e841f84 commit c34ec9e
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,12 @@ jobs:
run: vendor/bin/daux generate -d build/daux

- name: Deploy Documentation Website
uses: easingthemes/ssh-deploy@v4
with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlgoDzvc -i"
SOURCE: "build/daux/"
REMOTE_HOST: ${{ secrets.DOCS_REMOTE_HOST }}
REMOTE_USER: ${{ secrets.DOCS_REMOTE_TARGET_PATH }}
TARGET: ${{ secrets.DOCS_REMOTE_USER }}
EXCLUDE: ".DS_Store, .git*"
SCRIPT_BEFORE: |
whoami
ls -al "${{ secrets.DOCS_REMOTE_TARGET_PATH }}"
SCRIPT_AFTER: |
whoami
ls -al "${{ secrets.DOCS_REMOTE_TARGET_PATH }}"
echo $RSYNC_STDOUT
uses: AEnterprise/[email protected]
env:
DEPLOY_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-e -c -r --delete"
SERVER_PORT: 22
FOLDER: "./build/daux/"
SERVER_IP: ${{ secrets.DOCS_REMOTE_HOST }}
USERNAME: ${{ secrets.DOCS_REMOTE_USER }}
SERVER_DESTINATION: ${{ secrets.DOCS_REMOTE_TARGET_PATH }}

0 comments on commit c34ec9e

Please sign in to comment.