Update readme.yml
#37
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: README | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- '.github/workflows/readme.yml' | |
- 'HEADER.md' | |
- 'docs/source/assets/logo.svg' | |
- 'docs/source/index.md' | |
- 'scripts/readme.jl' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
- run: julia --color=yes scripts/readme.jl | |
- run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git diff --quiet || (git add . && git commit -m "Regenerate `README.md`") | |
git push |