import partenr module #110
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Charts | |
on: | |
push: | |
branches: | |
- stable | |
- unstable | |
- experimental | |
jobs: | |
packages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Git | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Bright Security" | |
- name: Change name to unstable | |
if: ${{ github.ref == 'refs/heads/unstable' }} | |
run: | | |
sed -i 's/brokencrystals/brokencrystals-dev/g' ./charts/brokencrystals/Chart.yaml | |
sed -i 's/brkn/brkn-dev/g' ./charts/brokencrystals/Chart.yaml | |
- name: Change values to development | |
if: ${{ github.ref == 'refs/heads/unstable' }} | |
run: | | |
sed -i 's/^ main:.*/ main: unstable/' ./charts/brokencrystals/values.yaml | |
sed -i 's/^ client:.*/ client: unstable/' ./charts/brokencrystals/values.yaml | |
- name: Release packages | |
uses: helm/[email protected] | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
CR_SKIP_EXISTING: true |