Good evening guys,
I actually have a problem that I think is stupid but I can’t figure out the reason.
I am using the following script https://github.com/techpivot/aws-code-deploy to deploy code to AWS EC2 instance.
On CircleCI 2.0 config file, I run the following command:
sh /var/www/html/aws-code-deploy.sh
But I get the following output on CircleCI:
#!/bin/bash -eo pipefail
sh /var/www/html/aws-code-deploy.sh
/var/www/html/aws-code-deploy.sh: 106: /var/www/html/aws-code-deploy.sh: Syntax error: “(” unexpected (expecting “}”)
Exited with code 2
Any idea what is happening there? Please let me know if you need more information.
Thanks a lot!