No sleep, just need to call start and not stop...
All checks were successful
Build and Test - Staging / determine_version (pull_request) Successful in 6s
Build and Test - Staging / build_and_push (pull_request) Successful in 42s
Build and Test - Staging / test (pull_request) Successful in 1s
Build and Test - Staging / deploy_staging (pull_request) Successful in 2s
All checks were successful
Build and Test - Staging / determine_version (pull_request) Successful in 6s
Build and Test - Staging / build_and_push (pull_request) Successful in 42s
Build and Test - Staging / test (pull_request) Successful in 1s
Build and Test - Staging / deploy_staging (pull_request) Successful in 2s
This commit is contained in:
@@ -86,11 +86,10 @@ jobs:
|
|||||||
-H 'Authorization: Bearer ${{ secrets.TRUENAS_CAPERRENCOM_API_KEY }}' \
|
-H 'Authorization: Bearer ${{ secrets.TRUENAS_CAPERRENCOM_API_KEY }}' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-d '"caperren-com"'
|
-d '"caperren-com"'
|
||||||
sleep 5
|
|
||||||
- name: Start App
|
- name: Start App
|
||||||
run: |
|
run: |
|
||||||
curl -k -X 'POST' \
|
curl -k -X 'POST' \
|
||||||
'https://caperren.com:444/api/v2.0/app/stop' \
|
'https://caperren.com:444/api/v2.0/app/start' \
|
||||||
-H 'accept: */*' \
|
-H 'accept: */*' \
|
||||||
-H 'Authorization: Bearer ${{ secrets.TRUENAS_CAPERRENCOM_API_KEY }}' \
|
-H 'Authorization: Bearer ${{ secrets.TRUENAS_CAPERRENCOM_API_KEY }}' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
|
|||||||
@@ -85,11 +85,10 @@ jobs:
|
|||||||
-H 'Authorization: Bearer ${{ secrets.TRUENAS_CAPERRENCOM_API_KEY }}' \
|
-H 'Authorization: Bearer ${{ secrets.TRUENAS_CAPERRENCOM_API_KEY }}' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-d '"caperren-com-stg"'
|
-d '"caperren-com-stg"'
|
||||||
sleep 5
|
|
||||||
- name: Start App
|
- name: Start App
|
||||||
run: |
|
run: |
|
||||||
curl -k -X 'POST' \
|
curl -k -X 'POST' \
|
||||||
'https://caperren.com:444/api/v2.0/app/stop' \
|
'https://caperren.com:444/api/v2.0/app/start' \
|
||||||
-H 'accept: */*' \
|
-H 'accept: */*' \
|
||||||
-H 'Authorization: Bearer ${{ secrets.TRUENAS_CAPERRENCOM_API_KEY }}' \
|
-H 'Authorization: Bearer ${{ secrets.TRUENAS_CAPERRENCOM_API_KEY }}' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
|
|||||||
Reference in New Issue
Block a user