mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-10 18:57:06 +00:00
4b9a7e05ec
In order to avoid to duplicat helm chart between this repository and the deployement repository, we decide to publish an helm chart
30 lines
800 B
YAML
30 lines
800 B
YAML
name: Release Charts
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
release:
|
|
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
|
|
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
|
|
permissions:
|
|
contents: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Cleanup
|
|
run: rm -rf ./src/helm/extra
|
|
|
|
- name: Publish Helm charts
|
|
uses: stefanprodan/helm-gh-pages@v1.7.0
|
|
with:
|
|
charts_dir: ./src/helm/
|
|
linting: off
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|