mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2025-06-16 05:59:16 +08:00
fix(ci): 修复在pull request时触发docs-deploy的问题
This commit is contained in:
parent
ade9a03f1e
commit
c1205d9912
7
.github/workflows/docs-deploy.yaml
vendored
7
.github/workflows/docs-deploy.yaml
vendored
@ -1,10 +1,15 @@
|
|||||||
|
|
||||||
name: ray-template documents deploy
|
name: ray-template documents deploy
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- closed
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
|
if: github.event.pull_request.merged == true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user