by 97-109-107 · 4y ago · 0 comments
I'm looking for streamlined alternatives to the following architecture (which works okay, but has too many separate parts):
- Static websites compiled with different assets from the same root create discrete independent "public" folders
- Folders are uploaded to a single bucket in Amazon S3
- Route53 and a separate reverse-proxy nginx server handle traffic to X.domain.com where X is the name of a folder in S3You can use it via cURL or github actions (https://github.com/marketplace/actions/gostatic-deploy), and there's a node-based CLI coming soon
e.g. curl https://www.gostaticapp.com/api/deploy/artifact \ -X POST \ -H "Accept: application/json" \ -H "Authorization: Bearer your-api-token" \ -F "file=@file.zip"