From 0973ff9ead09c08129810ccdea90d7bc32efde00 Mon Sep 17 00:00:00 2001 From: Roman Ackermann Date: Mon, 18 Nov 2019 12:44:52 +0100 Subject: [PATCH] Update README.md --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README.md b/README.md index e69de29..3eddfab 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,31 @@ +# CF CLI Action +Deploy to Cloud Foundry and manage your apps and services using the CF CLI easily with this GitHub Action. + +## Example Workflow +``` +name: Deploy to Cloud Foundry + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-18.04 + # Build your app here + + deploy: + runs-on: ubuntu-18.04 + needs: build + + steps: + - uses: citizen-of-planet-earth/cf-cli-action@master + with: + cf_api: https://api.my-cloud-foundry.com + cf_username: ${{ secrets.CF_USER }} + cf_password: ${{ secrets.CF_PASSWORD }} + cf_org: AwesomeApp + cf_space: Development + command: push -f manifest-dev.yml +```