Skip to content

Commit

Permalink
don't deploy doc with pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
liruilong940607 authored Sep 29, 2023
1 parent 35b0432 commit 34ca1d3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Docs
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -32,4 +30,5 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/
force_orphan: true
# cname: ...
if: github.event_name != 'pull_request'
# cname: ...

0 comments on commit 34ca1d3

Please sign in to comment.