mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
4c37acd5a9
13
.github/workflows/build-pro-image.yml
vendored
13
.github/workflows/build-pro-image.yml
vendored
@ -177,3 +177,16 @@ jobs:
|
||||
\"tag\": \"$APP_NAME\",
|
||||
\"dialect\": \"postgres\"
|
||||
}"
|
||||
- name: Deploy NocoBase V2
|
||||
env:
|
||||
IMAGE_TAG: ${{ steps.meta.outputs.tags }}
|
||||
run: |
|
||||
echo $IMAGE_TAG
|
||||
export APP_NAME=$(echo $IMAGE_TAG | cut -d ":" -f 2)
|
||||
echo $APP_NAME
|
||||
curl --retry 2 --location --request POST "${{secrets.NOCOBASE_DEPLOY_HOST_V2}}$APP_NAME" \
|
||||
--header 'Content-Type: application/json' \
|
||||
-d "{
|
||||
\"tag\": \"$APP_NAME\",
|
||||
\"dialect\": \"postgres\"
|
||||
}"
|
||||
|
8
.github/workflows/manual-build-pro-image.yml
vendored
8
.github/workflows/manual-build-pro-image.yml
vendored
@ -152,3 +152,11 @@ jobs:
|
||||
\"tag\": \"${{ steps.get-tag.outputs.tag }}\",
|
||||
\"dialect\": \"postgres\"
|
||||
}"
|
||||
- name: Deploy NocoBase V2
|
||||
run: |
|
||||
curl --retry 2 --location --request POST "${{secrets.NOCOBASE_DEPLOY_HOST_V2}}${{ steps.get-tag.outputs.tag }}" \
|
||||
--header 'Content-Type: application/json' \
|
||||
-d "{
|
||||
\"tag\": \"${{ steps.get-tag.outputs.tag }}\",
|
||||
\"dialect\": \"postgres\"
|
||||
}"
|
||||
|
@ -145,3 +145,16 @@ jobs:
|
||||
\"tag\": \"$APP_NAME\",
|
||||
\"dialect\": \"postgres\"
|
||||
}"
|
||||
- name: Deploy NocoBase V2
|
||||
env:
|
||||
IMAGE_TAG: ${{ steps.get-tag.outputs.tag }}
|
||||
run: |
|
||||
echo $IMAGE_TAG
|
||||
export APP_NAME=$(echo $IMAGE_TAG | cut -d ":" -f 2)-${{ inputs.pro_plugin }}
|
||||
echo $APP_NAME
|
||||
curl --retry 2 --location --request POST "${{secrets.NOCOBASE_DEPLOY_HOST_V2}}$APP_NAME" \
|
||||
--header 'Content-Type: application/json' \
|
||||
-d "{
|
||||
\"tag\": \"$APP_NAME\",
|
||||
\"dialect\": \"postgres\"
|
||||
}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user