Merge branch 'next' into develop

This commit is contained in:
nocobase[bot] 2024-11-24 11:28:37 +00:00
commit 6ad195b969
3 changed files with 34 additions and 0 deletions

View File

@ -178,3 +178,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\"
}"

View File

@ -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\"
}"

View File

@ -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\"
}"