From e6ab24512f7743af38e3b761f8e67c5bdbfb678f Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 20 Aug 2026 10:01:41 +0100 Subject: [PATCH] Run deployment after successful main builds --- .forgejo/workflows/book.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/book.yml b/.forgejo/workflows/book.yml index 36c388f..e4f73fe 100644 --- a/.forgejo/workflows/book.yml +++ b/.forgejo/workflows/book.yml @@ -25,7 +25,7 @@ jobs: test -f _book/index.html - name: Deploy successful main build - if: github.ref == 'refs/heads/main' + if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} env: DEPLOY_KEY: ${{ secrets.EACOMPANION_DEPLOY_KEY }} run: |