From 9087914b1d37cf01908e178aaafe684ef3aba2a0 Mon Sep 17 00:00:00 2001 From: Northword Date: Sun, 4 Aug 2024 19:22:13 +0800 Subject: [PATCH] ci: refine the payload of repo dispatch --- .github/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ee835d..f5e392d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,17 +2,24 @@ name: CI on: push: - branches: [main] + branches: + - main workflow_dispatch: repository_dispatch: - types: [update-content] + types: + - update-triggered-by-wiki-repo + - update-triggered-by-plugins-repo + - update-triggered-by-styles-repo + - update-triggered-by-translators-repo + - update-triggered-by-blog-repo + - update-content permissions: contents: write concurrency: group: pages - cancel-in-progress: true + cancel-in-progress: false env: TZ: Asia/Shanghai @@ -71,13 +78,6 @@ jobs: with: version: 9 - # - name: Setup Node - # uses: actions/setup-node@v4 - # with: - # node-version: 20.x - # registry-url: 'https://registry.npmjs.org' - # cache: pnpm - - name: Install Netlify CLI run: pnpm install -g netlify-cli