fix(ci): 修复在pull request时触发docs-deploy的问题

This commit is contained in:
yun 2023-12-20 09:24:00 +08:00
parent ade9a03f1e
commit c1205d9912

View File

@ -1,10 +1,15 @@
name: ray-template documents deploy
on: [push, pull_request]
on:
push:
pull_request:
types:
- closed
jobs:
build-and-deploy:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps: