Follow

Wish hexo would be smarter about deploying my website ... it uploads EVERYTHING every time.

I know sftp can tell you if a file already exists, and sure it would be more code and take longer, but would it be that much longer than uploading EVERY FILE EVERY TIME?

@M0YNG Not using rsync? It has an option to compare content hashes.

@vandys I'm using shared hosting for my personal site so that's not an option sadly

@M0YNG DM me if you ever need help moving to one of those cheap VM's like linode's $5/month nano instances.

@vandys heh, cheers.

I am probably capable of doing it myself, but compared to £30 a year, for something that gets basically no traffic, it's probably not worth the effort.

@M0YNG Have you tried using git-ftp? It can figure out what new things need to be uploaded from the git commit log and so can be quickly smart about only uploading changed things. github.com/git-ftp/git-ftp (and in a package manager near you).

Sign in to participate in the conversation
Mastodon.Radio

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!