Skip to content

v0.0.4

v0.0.4 #4

Workflow file for this run

name: Release Charts
on:
release:
types: [published]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: get sanitized version for the chart from the release tag
run: |
# Strip git ref prefix from version
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
# Strip "v" prefix from tag name
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
echo "app_release_version=$VERSION" >> $GITHUB_ENV
- name: Publish Helm chart
uses: stefanprodan/helm-gh-pages@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
charts_dir: .
charts_url: ./
owner: mojaloop
branch: gh-pages
linting: off
chart_version: ${{ env.app_release_version }}