From 8871d480f89fa2984aaedb1f94f923a4cc1c57b5 Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Wed, 29 Jul 2020 10:45:50 -0700 Subject: [PATCH] Try a fork of github-action-scp that removes the remote dir --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 58e91d5..e19aac9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: