Try a fork of github-action-scp that removes the remote dir
This commit is contained in:
parent
58d839b080
commit
8871d480f8
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user