mirror of https://github.com/portainer/k8s.git
Update GH action to auto-PR deployment manifest changes to gh-pages branch (#32)
parent
c5c90f06fa
commit
4a739a9d0e
|
@ -6,7 +6,8 @@ on:
|
|||
- master
|
||||
paths:
|
||||
- 'charts/**'
|
||||
- '.github/**'
|
||||
- '.github/**'
|
||||
- 'deploy/manifests/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -27,4 +28,10 @@ jobs:
|
|||
- name: Run chart-releaser
|
||||
uses: helm/chart-releaser-action@v1.0.0
|
||||
env:
|
||||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
||||
- name: sync gh-pages branch
|
||||
uses: repo-sync/pull-request@v2
|
||||
with:
|
||||
destination_branch: "gh-pages"
|
||||
pr_allow_empty: false
|
Loading…
Reference in New Issue