flowmapper-release #29
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: Update matching status | |
on: | |
repository_dispatch: | |
types: [flowmapper-release] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup quarto | |
uses: quarto-dev/quarto-actions/setup@v2 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
- run: pip install -r requirements.txt | |
- name: Run flowmapper | |
run: |- | |
make clean | |
quarto render status.qmd | |
- name: Commit and push any changes | |
run: |- | |
git config user.name "Automated" | |
git config user.email "actions@users.noreply.github.com" | |
git add status.md | |
timestamp=$(date -u) | |
git commit -m "release https://github.com/fjuniorr/flowmapper/commit/${{ github.event.client_payload.sha }}" || exit 0 | |
git push |