diff --git a/.github/workflows/docs-deploy.yaml b/.github/workflows/docs-deploy.yaml index e2831d7f..1d876c70 100644 --- a/.github/workflows/docs-deploy.yaml +++ b/.github/workflows/docs-deploy.yaml @@ -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: