sourcetoad / aws-codedeploy-action

AWS CodeDeploy via GitHub Actions
MIT License
35 stars 13 forks source link

directory error #63

Closed hari796 closed 2 years ago

hari796 commented 2 years ago

Error: appspec.yml was not located at: ./

what we mention at directory

iBotPeaches commented 2 years ago

That means the script could not find an appspec.yml file in the root of the project. directory parameter allows you to control that in case you have a deploy/build folder in which it resides.

This looks like support and not noticing a bug with this portion as we have it in use in many projects utilizing this parameter or relying on the default (root path). So I'm going to close this, but you are welcome to attach more proof/information.

hari796 commented 2 years ago

hi, Yes, the script does not find an appsec.yml file but I have that file so where can put the appsec.yml file Screenshot 2022-06-15 134345

and this is my actions yml file image below is the error image

I am confused about where can I put the appsec.yml file or can I mention the path in the directory parameter.

what is meant by ./ directory from where it is taken.

iBotPeaches commented 2 years ago

@hari796 - I'm not seeing actions/checkout in your screenshot. My guess is you never checked your repo out, thus nothing exists.

hari796 commented 2 years ago

yes , thank you