mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
chore: update ci
This commit is contained in:
parent
be5fd133ef
commit
f8b686548e
13
.github/workflows/build-pro-image.yml
vendored
13
.github/workflows/build-pro-image.yml
vendored
@ -176,3 +176,16 @@ jobs:
|
|||||||
\"tag\": \"$APP_NAME\",
|
\"tag\": \"$APP_NAME\",
|
||||||
\"dialect\": \"postgres\"
|
\"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 }}\",
|
\"tag\": \"${{ steps.get-tag.outputs.tag }}\",
|
||||||
\"dialect\": \"postgres\"
|
\"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\",
|
\"tag\": \"$APP_NAME\",
|
||||||
\"dialect\": \"postgres\"
|
\"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