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

Deploy to Cloud Foundry and manage your apps and services using the CF CLI easily with this GitHub Action
https://github.com/marketplace/actions/cf-cli-action
BSD 2-Clause "Simplified" License
23 stars 42 forks source link

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

Closed reggieb closed 3 years ago

reggieb commented 3 years ago

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?

reggieb commented 3 years ago

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.