Deployment needs sleep after stopping
All checks were successful
Build and Test - Staging / build_and_push (pull_request) Successful in 41s
Build and Test - Staging / test (pull_request) Successful in 2s
Build and Test - Staging / determine_version (pull_request) Successful in 5s
Build and Test - Staging / deploy_staging (pull_request) Successful in 7s
All checks were successful
Build and Test - Staging / build_and_push (pull_request) Successful in 41s
Build and Test - Staging / test (pull_request) Successful in 2s
Build and Test - Staging / determine_version (pull_request) Successful in 5s
Build and Test - Staging / deploy_staging (pull_request) Successful in 7s
This commit is contained in:
@@ -86,6 +86,7 @@ jobs:
|
||||
-H 'Authorization: Bearer ${{ secrets.TRUENAS_CAPERRENCOM_API_KEY }}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '"caperren-com"'
|
||||
sleep 5
|
||||
- name: Start App
|
||||
run: |
|
||||
curl -k -X 'POST' \
|
||||
|
||||
@@ -76,6 +76,7 @@ jobs:
|
||||
"name": "caperren-com-stg",
|
||||
"options": {}
|
||||
}'
|
||||
|
||||
- name: Stop App
|
||||
run: |
|
||||
curl -k -X 'POST' \
|
||||
@@ -84,6 +85,7 @@ jobs:
|
||||
-H 'Authorization: Bearer ${{ secrets.TRUENAS_CAPERRENCOM_API_KEY }}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '"caperren-com-stg"'
|
||||
sleep 5
|
||||
- name: Start App
|
||||
run: |
|
||||
curl -k -X 'POST' \
|
||||
|
||||
Reference in New Issue
Block a user