From 6349569d70ca04c88f1f5eef4e06cc941ba36c31 Mon Sep 17 00:00:00 2001 From: plcnk Date: Sun, 18 Aug 2024 23:35:37 +0200 Subject: [PATCH] feat(actions): Add copy README workflow --- .github/workflows/copy-readme.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/copy-readme.yaml 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