I’ve created a new CircleCI project that is triggered from a commit on a master GitHub branch. During the build process my config.yml installs grunt and runs some grunt tasks to minify, update URLs for production.
The build runs fine but CircleCI then deploys to AWS Elasticbeanstalk the GitHub version of the code and not the copy on CircleCI that has been grunted.
I’ve the same setup on2 other Circle projects and then work fine. I’m confused as to why the new project isn’t working the same way.
I’ve managed to get it working by running the build with SSH, then via the command line on the Circle instance run:
eb init
I then looked to see what was in the .ebelasticbeanstalk/config.yml created by the init command, compared with my GitHub version and changed from this: