7 ms·
Can I push to a git repo and have it automatically deploy the code there, like in Dokku, without any work at all? To be clear, I am looking for a way to click
by lambda_obrien 6y ago
Can I push to a git repo and have it automatically deploy the code there, like in Dokku, without any work at all?
To be clear, I am looking for a way to click through some setup stuff in a user management console then set some configurations and never have to manage anything again other than pushing to git. I don't even want to setup my own Dokku server, I already do that and while it's not hard, I don't like having to update it and maintain it about once a month.
- smt88 6y ago> Can I push to a git repo and have it automatically deploy the code there, like in Dokku, without any work at all? Yes. I do this with a very small config file with BitBucket Pipelines. It's easy to set it up with GitHub Actions or any other CI/CD solution. The core process is: 1. Build your code 2. Zip the build 3. Upload to S3 4. Tell Elastic Beanstalk to deploy the S3 file The BitBucket Pipeline I'm using is already configured with the code to do this, so you just specify some build commands and branches. > To be clear, I am looking for a way to click through some setup stuff in a user management console then set some configurations and never have to manage anything again other than pushing to git. That's exactly what I want(ed) and was able to achieve with Elastic Beanstalk + BitBucket Pipelines.
- lambda_obrien 6y agoAwesome! Thanks for that info! I think I'll try it out tonight, I still haven't used my free AWS products, so maybe I'll try a few others, too.