mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 20:20:35 +00:00
This replicates the process used in the old Travis configuration to publish updated charts. Signed-off-by: Stephen Kitt <skitt@redhat.com>
33 lines
603 B
YAML
33 lines
603 B
YAML
---
|
|
name: Release Charts
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
release:
|
|
name: Release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Configure Git
|
|
run: |
|
|
git config user.name "$GITHUB_ACTOR"
|
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
|
|
|
- name: Update the charts
|
|
run: |
|
|
make release
|
|
|
|
- name: Push the charts
|
|
run: |
|
|
git add charts/*
|
|
git commit -m "Chart update"
|
|
git push
|