Skip to content

Change docs trigger

Change docs trigger #6

name: on-push-do-docs
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
workflow_dispatch:
jobs:
docs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Run MarkdownSnippets
run: |
dotnet tool install --global MarkdownSnippets.Tool
mdsnippets ${GITHUB_WORKSPACE}
shell: bash
- name: Push changes
run: |-
git config user.name "Automated"
git config user.email "[email protected]"
git add -A
timestamp=$(date --iso-8601=seconds)
git commit -m "Docs changes" || exit 0
git push
shell: bash