Skip to content

Commit e09be81

Browse files
committed
try to package helm
1 parent 58f69f4 commit e09be81

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/build-helm-chart.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,16 @@ jobs:
3232
steps:
3333
- name: Check out the repo
3434
uses: actions/checkout@v2
35+
- name: Check out helm-charts
36+
uses: actions/checkout@v2
37+
with:
38+
repository: ${{ github.repository_owner }}/helm-charts
39+
ref: 'gh-pages'
40+
token: ${{ secrets.HELM_REPO_TOKEN }}
41+
path: helm-charts
3542

3643
- name: Configure Git
44+
working-directory: helm-charts
3745
run: |
3846
git config user.name "$GITHUB_ACTOR"
3947
git config user.email "[email protected]"
@@ -45,9 +53,9 @@ jobs:
4553
- name: Run chart-releaser
4654
uses: helm/[email protected]
4755
with:
48-
charts_dir: helm
56+
charts_dir: ./
4957
config: cr.yml
50-
charts_repo_url: http://fullstack-devops.github.io/helm-charts/
58+
charts_repo_url: https://fullstack-devops.github.io/helm-charts
5159
env:
5260
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
5361
HELM_REPO_TOKEN: "${{ secrets.HELM_REPO_TOKEN }}"

cr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
owner: fullstack-devops
22
git-repo: helm-charts
3-
token: ${HELM_REPO_TOKEN}
3+
token: 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

0 commit comments

Comments
 (0)