Try a different scp action to delete existing folder
This commit is contained in:
parent
ff626b6b3a
commit
e58d959c96
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@ -20,11 +20,21 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Copy folder content recursively to remote
|
# - name: Copy folder content recursively to remote
|
||||||
uses: garygrossgarten/github-action-scp@release
|
# uses: garygrossgarten/github-action-scp@release
|
||||||
|
# with:
|
||||||
|
# local: "./"
|
||||||
|
# remote: ${{ secrets.DEPLOY_PATH }}
|
||||||
|
# host: "server.chuckdries.com"
|
||||||
|
# username: ${{ secrets.CI_USER }}
|
||||||
|
# password: ${{ secrets.CI_PASSWORD }}
|
||||||
|
- name: copy file via ssh password
|
||||||
|
uses: appleboy/scp-action@master
|
||||||
with:
|
with:
|
||||||
local: "./"
|
|
||||||
remote: ${{ secrets.DEPLOY_PATH }}
|
|
||||||
host: "server.chuckdries.com"
|
host: "server.chuckdries.com"
|
||||||
username: ${{ secrets.CI_USER }}
|
username: ${{ secrets.CI_USER }}
|
||||||
password: ${{ secrets.CI_PASSWORD }}
|
password: ${{ secrets.CI_PASSWORD }}
|
||||||
|
# port: ${{ secrets.PORT }}
|
||||||
|
source: "*"
|
||||||
|
target: ${{ secrets.DEPLOY_PATH }}
|
||||||
|
rm: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user