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: |