forked from github-mirrorer/plcnk-helm-charts
feat(actions): Add copy README workflow
This commit is contained in:
23
.github/workflows/copy-readme.yaml
vendored
Normal file
23
.github/workflows/copy-readme.yaml
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
name: Copy README to gh-pages
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches: [master]
|
||||||
|
paths:
|
||||||
|
- README.md
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
copy-readme:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Copy README to gh-pages
|
||||||
|
uses: planetoftheweb/copy-to-branches@v1
|
||||||
|
env:
|
||||||
|
key: master
|
||||||
|
files: README.md
|
||||||
|
branches: gh-pages
|
||||||
Reference in New Issue
Block a user