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: on:
pull_request: pull_request:
paths:
- '**/*.nix'
- 'flake.lock'
- 'script/**'
# cancel previous runs when pushing new changes # cancel previous runs when pushing new changes
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
checks: checks:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

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