bushwallyta271828 / logic_graph_scalable

This repository should support the logicgraph.dev website, taking over from logic_graph.
MIT License
0 stars 0 forks source link

Figure out when to run create-staging and create-production #26

Closed bushwallyta271828 closed 8 months ago

bushwallyta271828 commented 8 months ago

These should probably be run automatically but only if staging/production aren't set up yet? Right now, I'm just going to have them be triggered manually, and if you try to push to staging/production without those environments existing yet, you're going to get an error. Long-term I don't like that because the result of the test depends on actions outside of the code being tested (namely, whether the staging/production environments exist yet), but for now I'm going with it.

Also, this decision may get easier once we switch to using Docker. I still don't know exactly how Docker integration is going to work, but if we end up basically creating a new environment every time then this code will become unnecessary.

bushwallyta271828 commented 8 months ago

Okay, I need to test if the AWS CLI works and GitHub isn't letting me run my new workflow so I need to make it trigger on pull requests and then create a pull request. This feels dumb but hopefully Docker will make this a short-term problem.

bushwallyta271828 commented 8 months ago

I'm starting over, so I don't need to worry about those files. Closing for now, though I will have to make a decision like this one in the future.