Merge branch 'main' into next

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

View File

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

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