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: - 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"