Use github actions to create releases and krew plugin assets
This commit is contained in:
parent
c7c06e0e6f
commit
4933170ae8
3 changed files with 152 additions and 6 deletions
26
.github/workflows/main.yaml
vendored
26
.github/workflows/main.yaml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: docs and Helm chart
|
||||
name: Documentation and Helm chart
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -6,16 +6,30 @@ on:
|
|||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
chart:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout master
|
||||
uses: actions/checkout@v1
|
||||
|
||||
#- name: Run chart-releaser
|
||||
# uses: helm/chart-releaser-action@v1.0.0-alpha.2
|
||||
# env:
|
||||
# CR_TOKEN: "${{ secrets.PERSONAL_TOKEN }}"
|
||||
- name: Setup
|
||||
shell: bash
|
||||
run: |
|
||||
git config --global user.name "$GITHUB_ACTOR"
|
||||
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||
|
||||
- name: Run chart-releaser
|
||||
uses: helm/chart-releaser-action@v1.0.0-rc.2
|
||||
env:
|
||||
CR_TOKEN: "${{ secrets.PERSONAL_TOKEN }}"
|
||||
|
||||
docs:
|
||||
needs: chart
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout master
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Deploy docs
|
||||
uses: ./.github/actions/mkdocs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue