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: