Files
fabric-carpet/.github/workflows/merge-docs.yml
T
2020-10-31 15:08:56 +01:00

23 lines
590 B
YAML

name: Merge docs
on:
push:
branches:
- master
paths:
- "docs/**"
- "!docs/scarpet/Full.md"
jobs:
Scarpet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Merge docs
run: ./mergedoc.sh
- name: Commit merged docs
continue-on-error: true
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git commit -am "Merge docs for '${{ github.event.head_commit.message }}'"
git push