mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* Sync chart repo READMEs to gh-pages Signed-off-by: Scott Rigby <scott@r6by.com> * Sync chart repos to gh-pages Signed-off-by: Scott Rigby <scott@r6by.com> * Combine helm dep and helm package Signed-off-by: Scott Rigby <scott@r6by.com>
28 lines
907 B
YAML
28 lines
907 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
paths:
|
|
- 'stable/README.md'
|
|
- 'incubator/README.md'
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: |
|
|
mkdir -p ${{ runner.temp }}/stable ${{ runner.temp }}/incubator
|
|
cp -f stable/README.md ${{ runner.temp }}/stable/README.md
|
|
cp -f incubator/README.md ${{ runner.temp }}/incubator/README.md
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
ref: gh-pages
|
|
- run: |
|
|
cp -f ${{ runner.temp }}/stable/README.md stable
|
|
cp -f ${{ runner.temp }}/incubator/README.md incubator
|
|
git config user.name "$GITHUB_ACTOR"
|
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
|
git add stable/README.md incubator/README.md
|
|
git commit --signoff -m "Sync READMEs from master [ci skip]"
|
|
git push
|