open-goverance/.forgejo/workflows/push_minutes.yaml
Brendan Golden 93e127ad4e
Some checks failed
On_Push / pdfs (events) (push) Has been cancelled
On_Push / pdfs (handovers) (push) Has been cancelled
On_Push / pdfs (budget) (push) Has been cancelled
On_Push / pdfs (push) Successful in 21s
ci: test splitting it up into several different workflows
2024-09-14 20:17:50 +01:00

30 lines
807 B
YAML

name: On_Push
on:
push:
branches:
- 'main'
paths:
- .forgejo/**/*
- Minutes/**/*
# so we can manually build the artifacts
workflow_dispatch:
jobs:
# rust code must be formatted for standardisation
pdfs:
# build it using teh base nixos system, helps with caching
runs-on: nix
permissions:
# needs this to create tags and releases
contents: write
steps:
# has to checkout first in order to be able to use the action
- uses: https://code.forgejo.org/actions/checkout@v4
- name: Use local action
uses: ./.forgejo/actions/build-release-pdf
with:
repository: ${{ gitea.repository }}
ref_name: ${{ gitea.ref_name }}
token: ${{ secrets.API_TOKEN_FORGEJO }}
script: "minutes"