1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2026-07-17 17:55:56 +00:00
Files
geek-cookbook/.github/workflows/on-push-master-update-leanpub-preview.yml
T
2020-06-03 13:24:18 +12:00

25 lines
491 B
YAML

name: Update leanpub branches
on:
push:
branches:
- dev
paths:
- 'manuscript/*.md'
- 'manuscript/**/*.md'
- '.github/workflows/*'
jobs:
update-leanpub:
steps:
- 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 }}