mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 04:15:08 +00:00
feat: update ci
This commit is contained in:
parent
71a1ddf69e
commit
04c25e4460
1
.github/workflows/build-docker-image.yml
vendored
1
.github/workflows/build-docker-image.yml
vendored
@ -7,6 +7,7 @@ concurrency:
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'develop'
|
||||
- 'main'
|
||||
- 'next'
|
||||
paths:
|
||||
|
5
.github/workflows/build-pro-image.yml
vendored
5
.github/workflows/build-pro-image.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user