Skip to content

Commit 46471e8

Browse files
committed
update README
1 parent bd66d07 commit 46471e8

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,24 @@
11
# GitHub Action for Kustomize Build+Diff
2+
3+
Example Usage
4+
```yaml
5+
name: kustomize-diff
6+
on:
7+
pull_request:
8+
jobs:
9+
kustomize-diff:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
- uses: supplypike/kustomize-diff@v1
16+
id: kustdiff
17+
with:
18+
kustomizations: |-
19+
.kustomization/staging
20+
.kustomization/production
21+
- uses: mshick/add-pr-comment@v2
22+
with:
23+
message: ${{ steps.kustdiff.outputs.diff }}
24+
```

0 commit comments

Comments
 (0)