From b528bf132487a6ea0bcf8a8899f889468b19f529 Mon Sep 17 00:00:00 2001 From: Cedric Date: Sat, 28 Dec 2024 16:49:55 +0000 Subject: [PATCH] Fix GitHub action syntax --- .github/workflows/test-book-website.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-book-website.yml b/.github/workflows/test-book-website.yml index 81dd93f..0325c0e 100644 --- a/.github/workflows/test-book-website.yml +++ b/.github/workflows/test-book-website.yml @@ -1,8 +1,12 @@ name: Test book and website for given image -on: [push, pull_request]: - branches-ignore: - - main +on: + push: + branches-ignore: + - main + pull_request: + branches: + - '**' env: DOCKER_IMAGE: ghcr.io/${{ github.repository }}:latest