This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
Merge pull request #929 from slagle/docs #240
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Kustomize Build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
paths: | |
- config/samples/** | |
- examples/** | |
jobs: | |
kustomize: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
- uses: actions/checkout@v4 | |
with: | |
# this fetches all branches. Needed because we need gh-pages branch for deploy to work | |
fetch-depth: 0 | |
- name: kustomize build | |
run: | | |
make kustomize | |
cd examples | |
for d in */ ; do | |
echo "=============== $d ===============" | |
../bin/kustomize build --load-restrictor LoadRestrictionsNone "$d" | |
done |