Skip to content

Commit

Permalink
add github workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Mason <[email protected]>
  • Loading branch information
mikemrm committed May 3, 2024
1 parent e73fa2b commit 21abc75
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lint-helm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Lint - Helm
on:
push:
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
helm-lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Helm
uses: azure/[email protected]

- name: Run helm lint
run: helm lint chart/permissions-api
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,20 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

helm:
runs-on: ubuntu-latest
needs: goreleaser
steps:
- uses: actions/checkout@v4

- name: Publish Helm charts
uses: stefanprodan/helm-gh-pages@master
with:
token: ${{ secrets.RELEASEBOT_PAT }}
charts_dir: chart
charts_url: "https://infratographer.github.io/charts"
repository: "charts"
app_version: ${{ github.ref_name }}
chart_version: ${{ github.ref_name }}
branch: gh-pages

0 comments on commit 21abc75

Please sign in to comment.