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 7f6dfed commit fd1aa15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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@v1
uses: krane/action@master
with:
url: ${{ secrets.KRANE_URL }}
token: ${{ secrets.KRANE_TOKEN }}
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- uses: actions/checkout@v2
with:
repository: my-github-repo
- uses: krane/action@v1
- uses: krane/action@master
with:
url: ${{ secrets.KRANE_URL }}
token: ${{ secrets.KRANE_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "tsc",
"package": "npx ncc build --source-map --license licenses.txt",
"precommit-build": "npm run build && npm run package",
"precommit-msg": "echo 'Pre-commit checks...' && exit 0"
"precommit-msg": "echo 'Pre-commit checks...\nIf new build files are outputted then 'git add' and re-commit.' && exit 0"
},
"pre-commit": [
"precommit-msg",
Expand Down

0 comments on commit fd1aa15

Please sign in to comment.