citizen-of-planet-earth/cf-cli-action

Where does the manifest.yml need to be within the app.

Closed this issue · 1 comments

I have created a deployment file like the one you have in your readme. The main change being to the command line:

command: push -f manifest.yml

However, when the deployment runs I get the error Incorrect Usage: The specified path 'manifest.yml' does not exist..

There is a manifest.yml file in my app root. I have tried copying it to ./github and .github/workflows but still get the same error.

So - where does the manifest file need to be located or is there a way of specifying the path to it?

I have found the solution. I needed to include - uses: actions/checkout@v2 in the steps for this action. So my action now has the steps:

    steps:
    - uses: actions/checkout@v2
    - uses: citizen-of-planet-earth/cf-cli-action@master

With that in place the system found the manifest file without having to specify a path to it.