Skip to content

Commit 729fcb8

Browse files
author
Diego Rodriguez
committed
make sure to provide correct charts directory
1 parent 33e62ec commit 729fcb8

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/main.yaml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Builds and tests the geas frontend
2+
name: Kube Fledged Helm Chart Build
3+
4+
# Trigger the workflow on all pull requests and only pushes to the main branch
5+
# yamllint disable-line rule:truthy
6+
on:
7+
push:
8+
branches:
9+
- main
10+
11+
pull_request:
12+
branches:
13+
- main
14+
15+
jobs:
16+
helm-publish:
17+
runs-on: ubuntu-20.04
18+
steps:
19+
- name: Checkout the code
20+
uses: actions/checkout@v2
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Configure Git
25+
run: |
26+
git config user.name "${GITHUB_ACTOR}"
27+
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
28+
29+
- name: Run chart-releaser (only on pushes)
30+
if: ${{ github.event_name == 'push' }}
31+
uses: helm/[email protected]
32+
env:
33+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
34+
35+
with:
36+
charts_dir: deploy/kubefledged-operator/helm-charts

0 commit comments

Comments
 (0)