EricLScace / All-the-Matrices-front-end

Browser client for AllTheMats.com
Other
0 stars 0 forks source link

Configure for auto-deployment from GitHub #72

Open EricLScace opened 6 years ago

EricLScace commented 6 years ago

https://aws.amazon.com/blogs/devops/automatically-deploy-from-github-using-aws-codedeploy/

https://atmos.org/github-services/auto-deployment/

ref #45

EricLScace commented 6 years ago

Here is a potential workaround so that auto-deploy doesn't happen from the development default branch. Conceptually, one creates a different GitHub repo that only has a master branch (default), with the service integration/webhooks for auto-deploy (AWS CodeDeploy).

Then configure one's local repo to be able to push to it e.g., from gh-pages branch as an upstream repo (e.g., test); e.g., with git push test master rather than pushing to origin gh-pages.

Ultimately this could be part of an automated test suite that pushes after success.

This came to mind when reading this

EricLScace commented 6 years ago

Or... use AWS CLI to deploy?