SFTP-Deploy-Action icon indicating copy to clipboard operation
SFTP-Deploy-Action copied to clipboard

Every deploy is slow

Open wbvdeveloper opened this issue 3 years ago • 3 comments

Hello every deploy is 20 min. when I push a file github. Just I edit a file. Why do I wait 20 min after deploy? What is wrong? I think If I changed a file. just It should deploy in server. right?

on: push: branches: [ "develop" ]

jobs: web-deploy: name: Deploy runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2

- name: Deploy file
  uses: wlixcc/[email protected]
  with:
    server: ${{ secrets.TEST_FTP_IP }}
    remote_path: ${{ secrets.TEST_FTP_DIR }}
    username: ${{ secrets.TEST_FTP_USERNAME }}
    password: ${{ secrets.TEST_FTP_PASS }}

wbvdeveloper avatar Aug 11 '22 10:08 wbvdeveloper

For me also every deploy is very slow

vanlueckn avatar Aug 11 '22 21:08 vanlueckn

I think it should be changed into a compressed package and then decompressed on a remote server should solve this problem.

anzhiyu-c avatar Aug 27 '22 05:08 anzhiyu-c

It should track what are the files that are already been uploaded and leave a fingerprint like SHA256 and compare the changes for the next upload, this time it will only be the changed file that will be uploaded. And also the files that are deleted.

JamesDelfini avatar Dec 24 '22 10:12 JamesDelfini