diff --git a/.github/workflows/copy-to-documenation-branch.yml b/.github/workflows/copy-to-documenation-branch.yml index bc2ab9a..1498799 100644 --- a/.github/workflows/copy-to-documenation-branch.yml +++ b/.github/workflows/copy-to-documenation-branch.yml @@ -34,6 +34,7 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Copy Markdowns uses: andstor/copycat-action@v3 with: @@ -46,6 +47,24 @@ jobs: dst_branch: documentation clean: true commit_message: "Sections copied from master to documentation branch!" + + copy-readme: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Copy Markdowns + uses: andstor/copycat-action@v3 + with: + personal_token: ${{ secrets.ACTION_TOKEN }} + src_branch: master + src_path: README.md + dst_owner: andkret + dst_repo_name: Cookbook + dst_path: /docs/00-TableOfContents + dst_branch: documentation + clean: false + commit_message: "Readme copied from master to documentation branch!" # copy-readme: # runs-on: ubuntu-latest # steps: