Skip to content

Allow custom response headers for gke (#1136) #439

Allow custom response headers for gke (#1136)

Allow custom response headers for gke (#1136) #439

Workflow file for this run

name: Build and push Chart
on:
push:
branches:
- develop
jobs:
build-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: 'main'
- uses: actions/checkout@v3
with:
path: 'gh-pages'
- run: |
cd gh-pages
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
git checkout gh-pages
# - name: Build zips
# uses: yeouchien/helm3-action@f3a7c239c5c60777210c8e631839edf5dd3fa29c
# with:
# command: dep update main/sentry
- name: Build zips
uses: yeouchien/helm3-action@f3a7c239c5c60777210c8e631839edf5dd3fa29c
with:
command: package main/sentry --destination gh-pages/charts
- name: Build zips
uses: yeouchien/helm3-action@f3a7c239c5c60777210c8e631839edf5dd3fa29c
with:
command: package main/clickhouse --destination gh-pages/charts
- name: Build zips
uses: yeouchien/helm3-action@f3a7c239c5c60777210c8e631839edf5dd3fa29c
with:
command: package main/sentry-kubernetes --destination gh-pages/charts
- name: Create index file
uses: yeouchien/helm3-action@f3a7c239c5c60777210c8e631839edf5dd3fa29c
with:
command: repo index --url https://sentry-kubernetes.github.io/charts ./gh-pages/charts
- name: Commit files
run: |
cd gh-pages
git add .
git commit -m "Add changes" -a
- name: Push changes
uses: ad-m/github-push-action@19caa5c351f47734055690f7d01aaaef2f9114d5
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
directory: gh-pages
- name: Deploy
uses: peaceiris/actions-gh-pages@v2
env:
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./gh-pages/charts
with:
keepFiles: true