mirror of
https://github.com/plcnk/charts.git
synced 2026-04-05 17:22:21 +00:00
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