Skip to content

Commit

Permalink
(readme)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Castaneda committed Jan 2, 2021
1 parent fd1aa15 commit 924a9ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ The Krane Github Action allows you to automate deployments using [Krane](https:/
Typically in your pipelines you'll have a _build image_ step and a _push image_ step. The last step ideally _auto-deploying_ your apps in that same pipeline.

```yml
uses: krane/action@master
with:
url: ${{ secrets.KRANE_URL }}
token: ${{ secrets.KRANE_TOKEN }}
file: ./deployment.json
steps:
- uses: actions/checkout@v2
- uses: krane/action@master
with:
url: ${{ secrets.KRANE_URL }}
token: ${{ secrets.KRANE_TOKEN }}
file: ./deployment.json
```
| Input | Description | Required |
Expand Down Expand Up @@ -52,8 +54,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: my-github-repo
- uses: krane/action@master
with:
url: ${{ secrets.KRANE_URL }}
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "action",
"version": "1.0.2",
"description": "The Krane github action",
"author": "David Castaneda",
"main": "lib/index.js",
Expand Down

0 comments on commit 924a9ca

Please sign in to comment.