From 49a48999590948954e1c9904da75a265e1207185 Mon Sep 17 00:00:00 2001 From: chenos Date: Mon, 12 Dec 2022 23:24:07 +0800 Subject: [PATCH] chore(ci): deploy nocobase --- .github/workflows/manual-build-pr-docker-image.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/manual-build-pr-docker-image.yml b/.github/workflows/manual-build-pr-docker-image.yml index 33aa34ee4..f84d9a800 100644 --- a/.github/workflows/manual-build-pr-docker-image.yml +++ b/.github/workflows/manual-build-pr-docker-image.yml @@ -46,3 +46,11 @@ jobs: COMMIT_HASH=${GITHUB_SHA} push: true 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\" + }" \ No newline at end of file