Skip to content

Commit

Permalink
Merge pull request #93 from uptick/dev-930/automate-gitops-releases-w…
Browse files Browse the repository at this point in the history
…ith-release-please
  • Loading branch information
mdesouky authored Nov 18, 2024
2 parents 41cc4e9 + 02699d5 commit faad7e8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,26 @@ jobs:
- uses: googleapis/release-please-action@v4
id: release
with: {}

publish_helm_chart:
runs-on: ubuntu-latest
needs: release-please
if: ${{ needs.release-please.outputs.server-version }} || ${{ needs.release-please.outputs.helm-version }}
steps:
- uses: actions/checkout@v4
- name: Publish Helm charts
uses: stefanprodan/helm-gh-pages@master
uses: helm/chart-releaser-action@v1.6.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
app_version: "${{ needs.release-please.outputs.server-version }}"
chart_version: "${{ needs.release-please.outputs.helm-version }}"
charts_dir: charts/gitops
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
publish_to_pypi:
name: Publishes tag to pypi
runs-on: ubuntu-latest
needs: release-please
if: ${{ needs.release-please.outputs.cli-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: jdx/mise-action@v2
with:
Expand Down

0 comments on commit faad7e8

Please sign in to comment.