From c2a752aaf229cdb59a412ceb347f5db2b5fc6c1f Mon Sep 17 00:00:00 2001 From: David Young Date: Wed, 3 Jun 2020 13:19:17 +1200 Subject: [PATCH] Test cleaning up leanpub content --- .../on-push-master-update-leanpub-preview.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/on-push-master-update-leanpub-preview.yml diff --git a/.github/workflows/on-push-master-update-leanpub-preview.yml b/.github/workflows/on-push-master-update-leanpub-preview.yml new file mode 100644 index 0000000..56454f4 --- /dev/null +++ b/.github/workflows/on-push-master-update-leanpub-preview.yml @@ -0,0 +1,22 @@ +name: Notify Discord to cookbook update + +on: + push: + branches: + - dev + paths: + - 'manuscript/*.md' + - 'manuscript/**/*.md' + +jobs: + - name: Checkout charts repo + uses: actions/checkout@v2 + + - name: Merge to leanpub-preview branch + uses: devmasx/merge-branch@v1.1.0 + with: + type: now + target_branch: 'leanpub-preview' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + \ No newline at end of file