Skip to content

Commit 06ad235

Browse files
authored
Create main.yml
Adding Action to build and publish helm charts
1 parent f40b15e commit 06ad235

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/main.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Release Charts
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the main branch
7+
on:
8+
push:
9+
branches: [ main ]
10+
pull_request:
11+
branches: [ main ]
12+
13+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
14+
jobs:
15+
# This workflow contains a single job called "build"
16+
build:
17+
# The type of runner that the job will run on
18+
runs-on: ubuntu-latest
19+
20+
# Steps represent a sequence of tasks that will be executed as part of the job
21+
steps:
22+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23+
- name: Helm Chart Releaser
24+
# You may pin to the exact commit or the version.
25+
# uses: helm/chart-releaser-action@97237943efb7a48269d47a642ec5fdff675aa55f
26+
uses: helm/[email protected]
27+
with:
28+
# The charts directory
29+
charts_dir: ./
30+
# The GitHub Pages URL to the charts repo (default: https://<owner>.github.io/<repo>)
31+
charts_repo_url: https://mongodb.github.io/helm-charts

0 commit comments

Comments
 (0)