diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6a0e3c..160e1d7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,11 +20,21 @@ jobs: steps: # 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 +# - name: Copy folder content recursively to remote +# 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: - local: "./" - remote: ${{ secrets.DEPLOY_PATH }} host: "server.chuckdries.com" username: ${{ secrets.CI_USER }} password: ${{ secrets.CI_PASSWORD }} +# port: ${{ secrets.PORT }} + source: "*" + target: ${{ secrets.DEPLOY_PATH }} + rm: true