Prevent running validate when pushing on main

Rational is as follow:
    - We ran validate-book on each push on the PR branch anyway
    - We will run release_book which is a superset of validate
This commit is contained in:
Cedric
2023-12-02 11:05:29 +00:00
parent 9dd617e661
commit 990c4c0ec6

View File

@@ -1,5 +1,11 @@
name: Validate LaTeX Document
on: [ push, pull_request ]
on:
push:
branches:
- '**' # All branches
- '!main' # But main as will do it anyway and more in release_book
pull_request:
jobs:
test_building_book:
runs-on: ubuntu-latest