Skip to content

Commit

Permalink
fix helm chart failure
Browse files Browse the repository at this point in the history
  • Loading branch information
AssahBismarkabah committed Nov 26, 2024
1 parent c8a0581 commit e947d48
Showing 1 changed file with 6 additions and 28 deletions.
34 changes: 6 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
name: CI and Helm Chart Publishing

name: ci
on:
push:
branches:
- feat/documentation
- main

permissions:
contents: write

jobs:
deploy-docs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v4
with:
Expand All @@ -30,25 +25,8 @@ jobs:
${{ runner.os }}-pip-
- name: Install dependencies
run: pip install mkdocs-material[imaging]
run: |
pip install mkdocs-material[imaging]
- name: Build and Deploy Documentation
run: mkdocs gh-deploy --force

publish-helm-chart:
runs-on: ubuntu-latest
needs: deploy-docs
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout main branch
run: git checkout main
- name: Publish Helm chart
uses: stefanprodan/helm-gh-pages@v1.7.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
charts_dir: contrib/charts
charts_url: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/charts
branch: gh-pages
target_dir: charts
linting: off

0 comments on commit e947d48

Please sign in to comment.