Simple game engine.
To trigger a deployment, create a GitHub release, and the GitHub Action will automatically start producing artifacts. The name/version of the GitHub release must be of the format v{major}.{minor}.{patch}
and will be included in the build artifacts automatically.
The web build is uploaded to a S3 bucket configured to allow public HTTP reads, and a Cloudflare cache which sits in front to provide HTTPS is automatically invalidated.
Add the following secrets on GitHub:
This is:
- The name of the S3 bucket which will be uploaded to.
- The public URL which Cloudflare will host.
For example, for https://www.google.com/
, this would be www.google.com
- no protocol, no trailing slash.
The access key ID and secret access key of an IAM user with the following permissions against the S3 bucket and objects within:
PutObject
PutObjectAcl
GetObject
ListBucket
DeleteObject
GetBucketLocation
A Cloudflare access token with the Zone.Cache Purge
permission. The Zone ID can be found on your domain's dashboard.