news-catalyst / reproducible-tinynews-content-api

A webiny installation complete with scripted content models and graphql
0 stars 0 forks source link

Sync Webiny deployment state on S3 #69

Closed TylerFisher closed 3 years ago

TylerFisher commented 3 years ago

In order to predictably keep the same deployment locations for different environments, we should sync the deployment state to an S3 bucket as part of the deployment process.

This probably means writing a custom script that:

  1. Pulls state from s3
  2. Deploys webiny based on that state
  3. Pushes new state to s3

This functionality could also work as part of a CI integration like Github Actions. That's probably a good idea for the future, but let's make sure this S3 sync idea works first.

jacqui commented 3 years ago

Okay, I think I've figured out how to do this. I've borrowed much of the specifics of the approach to the example the webiny folks mentioned.