chore(ci): deploy nocobase

This commit is contained in:
chenos 2022-12-12 23:24:07 +08:00
parent 8833eaf0ee
commit 49a4899959

View File

@ -46,3 +46,11 @@ jobs:
COMMIT_HASH=${GITHUB_SHA} COMMIT_HASH=${GITHUB_SHA}
push: true push: true
tags: ${{ secrets.ALI_DOCKER_REGISTRY }}/nocobase/nocobase:pr-${{ inputs.pr_number }} tags: ${{ secrets.ALI_DOCKER_REGISTRY }}/nocobase/nocobase:pr-${{ inputs.pr_number }}
- name: Deploy NocoBase
run: |
curl --location --request POST "${{secrets.NOCOBASE_DEPLOY_HOST}}pr-${{ inputs.pr_number }}" \
--header 'Content-Type: application/json' \
-d "{
\"tag\": \"pr-${{ inputs.pr_number }}\",
\"dialect\": \"postgres\"
}"