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 27, 2024
1 parent e947d48 commit 9b40449
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: ci
name: CI and Deployments

on:
push:
branches:
- feat/documentation
permissions:
contents: write
- main

jobs:
deploy:
deploy-docs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/feat/documentation'
steps:
- uses: actions/checkout@v3

Expand All @@ -25,8 +27,23 @@ 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-chart:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- 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: helm-charts
linting: off

0 comments on commit 9b40449

Please sign in to comment.