glassbottommeg,
@glassbottommeg@peoplemaking.games avatar

Hrm. Another question for (or really) users:

So you add a new News post. You go to upload. Uh. What files do you ACTUALLY upload?

In principle the answer is "well the new ones silly", but when your static site includes say, a Tag and a search system, how on earth do you know which changed and select only them?

Lately I just FTP up the whole folder, overwriting everything, and I feel like an idiot 😭 (or am I valid? maybe?)

chsxf,

@glassbottommeg you can use Cyberduck (on any similar tool) to synchronize both your local folder and your FTP, thus uploading only what’s actually needed.

Or you can go the devops route and configure a GitHub repo to do it automatically for you (either via GitHub Pages if or GitHub Actions).

glassbottommeg,
@glassbottommeg@peoplemaking.games avatar

@chsxf oh gods I'm an idiot. I do use Cyberduck. But I just drag the whole directory and plop it over.

I, uh, take it there's a button I can hit instead of doing that and it'll just do the thing?

chsxf,

@glassbottommeg

Once connected to your server, click on Actions, then Synhronize...

You'll have to select the source folder and you will be able to review operations before they're applied.

Depending on the size / complexity of the website, analyzing can take some time though.

I'm on macOS but things should work the same on Windows AFAIK

glassbottommeg,
@glassbottommeg@peoplemaking.games avatar

@chsxf oh, rad! Thanks!

spuddy,

@glassbottommeg hugo deploy will take care of which files need updating via its “file list” mechanism. But you need to be deploying to something like S3 etc https://gohugo.io/hosting-and-deployment/hugo-deploy/#how-the-file-list-works

glassbottommeg,
@glassbottommeg@peoplemaking.games avatar

@spuddy dangit- I don't deploy that way, heh. No clue how any of that works. Hrm.

ari,

@glassbottommeg i'd probably incorporate it into version control and have the site be a clean checkout (minus the repo files). dunno what the path of least friction there is for non web techy people, but i think the answer is in rsync somewhere and then you can just put that command in a .bat or something

glassbottommeg,
@glassbottommeg@peoplemaking.games avatar

@ari so yes, I've got it version controlled (well the not generated part anyways), but yeah the issue is still not having an easy way to upload just the new parts to my webhost hosting the generated page.

djlink,
@djlink@mastodon.gamedev.place avatar

@glassbottommeg I have it on a git repo, replace the whole folder and see the changed files

Taffer,
@Taffer@mastodon.gamedev.place avatar

@glassbottommeg I’m using rsync to upload my site and hoping it just does the right thing.

brody,
@brody@peoplemaking.games avatar

@glassbottommeg Don't feel bad, I've also been doing exactly the same thing lol

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • JUstTest
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • megavids
  • lostlight
  • All magazines