milanmk / actions-file-deployer

Composite GitHub Action (Linux runner) for deploying repository content to remote server. Fast and customizable deployment with proxy support. Deploy only changed files or do full sync/mirror of repository content.
The Unlicense
62 stars 14 forks source link

No files are uploaded at all with sync option to "full". Logs show PUT/MIRROR failure. #22

Closed FranckSCTV closed 11 months ago

FranckSCTV commented 1 year ago

Do the logs below can ring a bell to someone? Also the path getting "*****" signs should be ignored? ( folder name is same as username )

image

yml file :


name: Deploy Files
on: [push]
jobs:

  deploy-master:
    name: "master branch"
    runs-on: ubuntu-latest
    timeout-minutes: 30
    steps:
      - name: "Checkout"
        uses: actions/checkout@v3
        with:
          fetch-depth: 0
      - name: "Deploy"
        uses: milanmk/actions-file-deployer@master
        with:
          remote-protocol: "sftp"
          remote-host: ${{ secrets.TESTSERV_SFTP_HOST }}  
          remote-user: ${{ secrets.TESTSERV_SFTP_USER }}
          remote-password: ${{ secrets.TESTSERV_SFTP_PASSPHRASE }}
          ssh-private-key: ${{ secrets.TESTSERV_SFTP_KEY }}   
          local-path: "."
          remote-path: "/lotsoffolders/franck/repofolder"
          sync: "full"
          debug: true
milanmk commented 1 year ago

You need to adjust the connection timeout. Quick Google search for the error text should give you some pointers.