Don't deploy preview when dependabot

This commit is contained in:
Deirdre Connolly 2023-04-24 23:29:41 -04:00
parent 0b981618cd
commit f1710d5af2
1 changed files with 5 additions and 2 deletions

View File

@ -19,7 +19,10 @@ on:
- 'katex-header.html' - 'katex-header.html'
# workflow definitions # workflow definitions
- '.github/workflows/docs.yml' - '.github/workflows/docs.yml'
push:
branches:
- main
env: env:
RUST_LOG: info RUST_LOG: info
RUST_BACKTRACE: full RUST_BACKTRACE: full
@ -69,7 +72,7 @@ jobs:
- name: Deploy FROST book to Firebase preview channel - name: Deploy FROST book to Firebase preview channel
uses: FirebaseExtended/action-hosting-deploy@v0 uses: FirebaseExtended/action-hosting-deploy@v0
if: ${{ github.event_name == 'pull_request' }} if: ${{ github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' }}
with: with:
entrypoint: "book/" entrypoint: "book/"
expires: 14d expires: 14d