3 ms·
Put it in github. Add a github action that pushes the file updates to production. If you are using something like AWS S3 this is very simple but very neat. I
by smackeyacky 5y ago
Put it in github.
Add a github action that pushes the file updates to production.
If you are using something like AWS S3 this is very simple but very neat.
I have a tiny S3/github based CMS for my static content and the workflow is simple:
Edit page(s) and update images, css files, javascript stuff.
Test locally. I have a python script that acts like a web server so i can verify the changes. I have a few other scripts that update menus and other housekeeping items as well. Python is great for that kind of stuff.
Once verified, push to the production branch.
Pushing there fires off the github action that syncs the files with S3 in my AWS account.
Now you have a complete history of all edits to the content system.