From 38ab2260d5a2385d95454cd99a21db8a8ddc9afc Mon Sep 17 00:00:00 2001 From: Yiran Date: Wed, 8 Jan 2025 11:15:45 +0800 Subject: [PATCH] chore: only deploy ZH doc when PR merged --- .github/workflows/addDocsToS3BucketAWS.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/addDocsToS3BucketAWS.yml b/.github/workflows/addDocsToS3BucketAWS.yml index cd18d0b8b..203c8967a 100644 --- a/.github/workflows/addDocsToS3BucketAWS.yml +++ b/.github/workflows/addDocsToS3BucketAWS.yml @@ -5,7 +5,7 @@ on: # Triggers the workflow on push or pull request events but only for the main branch pull_request_target: branches: ['main'] - types: [closed] + types: [merged] paths-ignore: - "./docs/**/en/**" # Allows you to run this workflow manually from the Actions tab