feat(actions): Add copy README workflow

This commit is contained in:
plcnk
2024-08-18 23:35:37 +02:00
parent 8d486da4a8
commit 6349569d70

23
.github/workflows/copy-readme.yaml vendored Normal file
View 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