Switch finance workflow to Nix #159
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 financial dashboard" | |
on: | |
push: | |
paths: | |
- "automation/finanse/*" | |
- ".github/workflows/finance.yaml" | |
jobs: | |
dashboard: | |
runs-on: ubuntu-latest | |
name: Update financial dashboard | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v27 | |
- name: Update dashboard | |
run: | | |
cd automation/finanse | |
nix build | |
flake check | |
git add ../../layouts/shortcodes/finanse.html | |
- name: Commit Changes | |
uses: stefanzweifel/[email protected] | |
with: | |
commit_message: Automated financial dashboard snapshot |