Skip to content

Instantly share code, notes, and snippets.

@trobrock
Created June 23, 2020 13:28
Show Gist options
  • Save trobrock/461dc5ffe8b30f8a451fc0190fb9383b to your computer and use it in GitHub Desktop.
Save trobrock/461dc5ffe8b30f8a451fc0190fb9383b to your computer and use it in GitHub Desktop.
name: Compile Mermaid Diagrams
on: [push]
jobs:
build:
name: Compile Mermaid
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: Install dependencies
run: make dependencies
- name: Run Makefile
run: make clean diagrams
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add -A
git commit -m "Add diagrams"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment