Open EricLScace opened 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
Or... use AWS CLI to deploy?
https://aws.amazon.com/blogs/devops/automatically-deploy-from-github-using-aws-codedeploy/
https://atmos.org/github-services/auto-deployment/
ref #45