From 23b46ec3bc13cdc16bb01f613895db39f0f3e2c8 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Tue, 30 Jul 2024 17:03:01 -0700 Subject: [PATCH] publish book on push to main --- .github/workflows/release-book.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-book.yml b/.github/workflows/release-book.yml index 0462c08b..e4785e2f 100644 --- a/.github/workflows/release-book.yml +++ b/.github/workflows/release-book.yml @@ -1,11 +1,9 @@ # Publish the book to https://mutants.rs/ when a new release is created. name: Release book on: - release: - types: - - published - - released - workflow_dispatch: + push: + branches: + - main # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: