Run CI for feature branches
All checks were successful
Build and deploy the book / book (pull_request) Successful in 5s
Build and deploy the book / book (push) Successful in 5s

This commit is contained in:
Simon 2026-08-20 11:03:54 +01:00
parent 6613da3b6e
commit 5de4591f64

View file

@ -2,8 +2,6 @@ name: Build and deploy the book
on: on:
push: push:
branches:
- main
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:
@ -25,7 +23,7 @@ jobs:
test -f _book/index.html test -f _book/index.html
- name: Deploy successful main build - name: Deploy successful main build
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} if: ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main' }}
env: env:
DEPLOY_KEY: ${{ secrets.EACOMPANION_DEPLOY_KEY }} DEPLOY_KEY: ${{ secrets.EACOMPANION_DEPLOY_KEY }}
run: | run: |