Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

hiding fields for jupyter-dapla (#75) #167

hiding fields for jupyter-dapla (#75)

hiding fields for jupyter-dapla (#75) #167

Workflow file for this run

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: Generate token
id: generate_token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app_id: ${{ secrets.DAPLA_BOT_APP_ID }}
private_key: ${{ secrets.DAPLA_BOT_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ steps.generate_token.outputs.token }}
- name: Configure Git
run: |
git config user.name "dapla-bot[bot]"
git config user.email "143391972+dapla-bot[bot]@users.noreply.github.com"
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.11.2
- name: Install helm-docs
run: |
cd /tmp
wget /~https://github.com/norwoodj/helm-docs/releases/download/v1.11.0/helm-docs_1.11.0_Linux_x86_64.tar.gz
tar -xvf helm-docs_1.11.0_Linux_x86_64.tar.gz
sudo mv helm-docs /usr/local/sbin
- name: Generate Helm docs
run: |
helm-docs -o README.md
if [[ `git status --porcelain` ]]; then
git add -A
git commit -m "Generate Helm docs"
fi
- name: Push changes
uses: ad-m/github-push-action@29f05e01bb17e6f28228b47437e03a7b69e1f9ef
with:
github_token: ${{ steps.generate_token.outputs.token }}
branch: main
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.5.0
env:
CR_TOKEN: ${{ steps.generate_token.outputs.token }}