4 ms·
If you have multiple HTML pages, using a templating engine saves a lot of copy/pasting when you change headers, menus etc. (in the article they're using Hugo).
by ajanuary 9y ago
If you have multiple HTML pages, using a templating engine saves a lot of copy/pasting when you change headers, menus etc. (in the article they're using Hugo).
You can automate the uploading of files by writing a script to upload the files to the bucket so you can deploy in a single command (it gets trickier if you want to do a sync and delete files).
Personally I use rake [0] to create build and deploy tasks so I can do `rake build` and `rake deploy:prod`.
[0] https://github.com/ruby/rake https://github.com/ruby/rake