Update docs-deploy.yml

This commit is contained in:
Abdullah Atta
2021-05-28 10:29:31 +05:00
committed by GitHub
parent cd293eaf0c
commit 0e1bccafc1

View File

@@ -31,11 +31,10 @@ jobs:
config: docs/retype.json config: docs/retype.json
# You may pin to the exact commit or the version. # You may pin to the exact commit or the version.
# uses: Burnett01/rsync-deployments@23a557dceb19f9bb960ef40cf75cab5e9b37ec1f # uses: Burnett01/rsync-deployments@23a557dceb19f9bb960ef40cf75cab5e9b37ec1f
- shell: bash - uses: blbecker/rsync-deploy@v1.0
env: with:
RETYPE_OUTPUT_PATH: ${{ steps.retype.outputs.retype-output-path }} source_dir: ${{ steps.retype.outputs.retype-output-path }}
REMOTE_PATH: ${{ secrets.REMOTE_PATH }} destination_path: ${{ secrets.REMOTE_PATH }}
REMOTE_HOST: ${{ secrets.REMOTE_HOST }} destination_host: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }} deployment_user: ${{ secrets.REMOTE_USER }}
REMOTE_KEY: ${{ secrets.REMOTE_KEY }} deployment_key: ${{ secrets.REMOTE_KEY }}
run: source agent-start "$GITHUB_ACTION" && echo "$REMOTE_KEY" | agent-add && rsync -aPzz "$RETYPE_OUTPUT_PATH" "$REMOTE_USER@$REMOTE_HOST":"$REMOTE_PATH" --delete