Skip to content

Merge pull request #160 from River-sh/enhance/add_commit_info #15

Merge pull request #160 from River-sh/enhance/add_commit_info

Merge pull request #160 from River-sh/enhance/add_commit_info #15

Workflow file for this run

name: Sync Charts
on:
push:
branches:
- main
paths:
- 'charts/**'
jobs:
sync-charts:
if: github.repository == 'openyurtio/raven'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get the version
id: get_version
run: |
echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}
- name: Sync to openyurt-helm Repo
env:
SSH_DEPLOY_KEY: ${{ secrets.SYNC_CHARTS_SECRET }}
VERSION: ${{ steps.get_version.outputs.VERSION }}
TAG: ${{ steps.get_version.outputs.TAG }}
COMMIT_ID: ${{ github.sha }}
run: |
bash ./hack/lib/sync-charts.sh