diff --git a/.github/workflows/copy-readme.yaml b/.github/workflows/copy-readme.yaml new file mode 100644 index 0000000..a9a9f13 --- /dev/null +++ b/.github/workflows/copy-readme.yaml @@ -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