Update workflow names and triggers (#357)

This commit is contained in:
magnouvean 2024-09-08 09:35:51 +02:00 committed by GitHub
parent 1b9c8200d6
commit 022564331c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 4 deletions

View File

@ -1,10 +1,16 @@
name: "Check"
name: "Nix Checks"
on:
pull_request:
paths:
- '**/*.nix'
- 'flake.lock'
- 'script/**'
# cancel previous runs when pushing new changes
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
checks:
runs-on: ubuntu-latest

View File

@ -1,8 +1,14 @@
name: GitHub Pages
name: GitHub Pages Docs Generation
on:
push:
branches:
- trunk
paths:
- 'flake.nix'
- 'flake.lock'
- 'modules/**'
- 'docs/**'
jobs:
publish:
strategy: