mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-11-30 03:08:31 +08:00
fix(ci): curl --retry 2
This commit is contained in:
parent
a6190b54f5
commit
3cd79006be
@ -74,7 +74,7 @@ jobs:
|
||||
echo $IMAGE_TAG
|
||||
export APP_NAME=$(echo $IMAGE_TAG | cut -d ":" -f 2)
|
||||
echo $APP_NAME
|
||||
curl --location --request POST "${{secrets.NOCOBASE_DEPLOY_HOST}}$APP_NAME" \
|
||||
curl --retry 2 --location --request POST "${{secrets.NOCOBASE_DEPLOY_HOST}}$APP_NAME" \
|
||||
--header 'Content-Type: application/json' \
|
||||
-d "{
|
||||
\"tag\": \"$APP_NAME\",
|
||||
|
@ -48,7 +48,7 @@ jobs:
|
||||
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 }}" \
|
||||
curl --retry 2 --location --request POST "${{secrets.NOCOBASE_DEPLOY_HOST}}pr-${{ inputs.pr_number }}" \
|
||||
--header 'Content-Type: application/json' \
|
||||
-d "{
|
||||
\"tag\": \"pr-${{ inputs.pr_number }}\",
|
||||
|
2
.github/workflows/uninstall-apps.yml
vendored
2
.github/workflows/uninstall-apps.yml
vendored
@ -29,4 +29,4 @@ jobs:
|
||||
echo $IMAGE_TAG
|
||||
export APP_NAME=$(echo $IMAGE_TAG | cut -d ":" -f 2)
|
||||
echo $APP_NAME
|
||||
curl --location --request DELETE "${{secrets.NOCOBASE_DEPLOY_HOST}}$APP_NAME"
|
||||
curl --retry 2 --location --request DELETE "${{secrets.NOCOBASE_DEPLOY_HOST}}$APP_NAME"
|
||||
|
Loading…
Reference in New Issue
Block a user