From 04c25e4460e551f137c35df87428186e5824422b Mon Sep 17 00:00:00 2001 From: chenos Date: Tue, 13 Aug 2024 09:47:02 +0800 Subject: [PATCH] feat: update ci --- .github/workflows/build-docker-image.yml | 1 + .github/workflows/build-pro-image.yml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index 80eced7754..9b7f3f544a 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -7,6 +7,7 @@ concurrency: on: push: branches: + - 'develop' - 'main' - 'next' paths: diff --git a/.github/workflows/build-pro-image.yml b/.github/workflows/build-pro-image.yml index de5761a3a2..9a1b3204a7 100644 --- a/.github/workflows/build-pro-image.yml +++ b/.github/workflows/build-pro-image.yml @@ -7,6 +7,7 @@ concurrency: on: push: branches: + - 'develop' - 'main' - 'next' paths: @@ -33,7 +34,7 @@ jobs: uses: actions/checkout@v3 with: repository: nocobase/pro-plugins - ref: main + ref: next path: packages/pro-plugins fetch-depth: 0 ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }} @@ -45,7 +46,7 @@ jobs: if git show-ref --quiet refs/remotes/origin/${{ github.event.pull_request.base.ref }}; then git checkout ${{ github.event.pull_request.base.ref }} else - git checkout main + git checkout next fi fi - name: rm .git