ci(docs): allow deploy only on repo default branch
This commit is contained in:
parent
755cbe4dae
commit
027c6efb32
1 changed files with 1 additions and 0 deletions
1
.github/workflows/docs-deploy.yml
vendored
1
.github/workflows/docs-deploy.yml
vendored
|
|
@ -13,6 +13,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
name: Deploy docs
|
name: Deploy docs
|
||||||
|
if: github.event.repository.default_branch == github.ref_name
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue