Don't deploy preview when dependabot
This commit is contained in:
parent
0b981618cd
commit
f1710d5af2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue