Try a fork of github-action-scp that removes the remote dir

This commit is contained in:
Chuck Dries 2020-07-29 10:45:50 -07:00 committed by GitHub
parent 58d839b080
commit 8871d480f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,13 +21,14 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Copy folder content recursively to remote
uses: garygrossgarten/github-action-scp@release
uses: ThomasRutzer/github-action-scp@master
with:
local: "./"
remote: ${{ secrets.DEPLOY_PATH }}
host: "server.chuckdries.com"
username: ${{ secrets.CI_USER }}
password: ${{ secrets.CI_PASSWORD }}
rmRemote: true
# - name: copy file via ssh password
# uses: appleboy/scp-action@master
# with: