Merge pull request #529 from carpentries/release-0.14.0 #78
Workflow file for this run
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: Render Dotfiles | |
on: | |
push: | |
paths: | |
- vignettes/articles/img/*dot | |
- .github/workflows/update-docs.yaml | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup Graphviz | |
uses: ts-graphviz/setup-graphviz@v1 | |
- name: Convert and commit dotfiles to svg | |
run: | | |
cd vignettes/articles/img | |
for i in *.dot; do dot -Tsvg $i > $i.svg; done | |
cd ${{ github.workspace }} | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Actions" | |
git add vignettes/articles/img/*.svg | |
git commit -m "[actions] update images" || echo "nothing to commit" | |
git push || echo "nothing to push" |