From f1710d5af2c978b12867accbce53b41e97804640 Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Mon, 24 Apr 2023 23:29:41 -0400 Subject: [PATCH] Don't deploy preview when dependabot --- .github/workflows/docs.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ef6124e..97cf99e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -19,7 +19,10 @@ on: - 'katex-header.html' # workflow definitions - '.github/workflows/docs.yml' - + push: + branches: + - main + env: RUST_LOG: info RUST_BACKTRACE: full @@ -69,7 +72,7 @@ jobs: - name: Deploy FROST book to Firebase preview channel uses: FirebaseExtended/action-hosting-deploy@v0 - if: ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' }} with: entrypoint: "book/" expires: 14d