Monorepo - Reference appspec.yml not in root

0

I have a just moved to a monorepo whereby my deployment dir and appspec.yml files are now in a sub directory.

My codeDeploy now fails as the appspec.yml file cannot be found. How can I reference it now that it is not in the root?

Edited by: wonka on Aug 19, 2020 8:32 PM

wonka
已提问 4 年前295 查看次数
2 回答
0

We use TeamCity to package our artifacts prior to uploading to S3. In our CI pipeline we bundle the artifact up so that the yml file is in the root. Can you take advantage of your CI pipeline to control your artifact bundle?

boyerc
已回答 4 年前
0

Many thanks @boyerc

Yes, i think introducing a build tool is the right approach.

wonka
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则