mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-08-16 16:21:00 +00:00
Update deploy-staging.yml
只有主仓库的时候才执行
This commit is contained in:
@@ -12,6 +12,7 @@ jobs:
|
|||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: Deploy
|
environment: Deploy
|
||||||
|
if: ${{ !github.event.repository.fork }} # 只有非 fork 才执行
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user