Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Every deploy is slow #38

Open
wbvdeveloper opened this issue Aug 11, 2022 · 3 comments
Open

Every deploy is slow #38

wbvdeveloper opened this issue Aug 11, 2022 · 3 comments

Comments

@wbvdeveloper
Copy link

wbvdeveloper commented Aug 11, 2022

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 }}
@vanlueckn
Copy link

For me also every deploy is very slow

@anzhiyu-c
Copy link

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

@JamesDelfini
Copy link

JamesDelfini commented Dec 24, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants