marp-slides #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: marp-slides | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
jobs: | |
make_slides: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup git | |
run: | | |
git config --global user.name "Slide updates" | |
git config --global user.email "[email protected]" | |
git config --global url.https://github.com/.insteadOf git://github.com/ | |
- name: checkout repo | |
uses: actions/checkout@main | |
- name: build application | |
run: make slides | |
- name: Commit changes | |
run: | | |
git add . | |
git diff --quiet && git diff --staged --quiet || git commit -m 'update slides' |