Every deploy is slow
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 }}
For me also every deploy is very slow
I think it should be changed into a compressed package and then decompressed on a remote server should solve this problem.
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.