chore: avoid workflow running on forked repo (#12607)
This commit is contained in:
1
.github/workflows/deploy-v4-site.yml
vendored
1
.github/workflows/deploy-v4-site.yml
vendored
@@ -10,6 +10,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
|
if: github.repository == 'youzan/vant'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
|
|||||||
Reference in New Issue
Block a user