open-goverance/.forgejo/workflows/push.yaml
Brendan Golden 38a57430d0
All checks were successful
On_Push / pdfs (budget) (push) Successful in 6s
On_Push / pdfs (events) (push) Successful in 7s
On_Push / pdfs (handovers) (push) Successful in 7s
On_Push / pdfs (minutes) (push) Successful in 11s
ci: switch over to using forgejo actions
2024-08-11 00:07:11 +01:00

32 lines
No EOL
820 B
YAML

name: On_Push
on:
push:
branches:
- 'main'
paths:
- .forgejo/**/*
- Committee/**/Handovers/*
- Minutes/**/*
- Committee/**/Budget/*
- Events/**/*
jobs:
# rust code must be formatted for standardisation
pdfs:
# build it using teh base nixos system, helps with caching
runs-on: nix
strategy:
matrix:
script: [ handovers, minutes, budget, events ]
steps:
# get the repo first
- uses: https://code.forgejo.org/actions/checkout@v4
# actual script to run the build process
- run: nix run .#${{ matrix.script }}
- run: ls -lah
# upload the files
- uses: https://code.forgejo.org/forgejo/upload-artifact@v4
with:
name: PDFs-${{ matrix.script }}
path: pdf_${{ matrix.script }}/