diff --git a/.gitea/workflows/build-production.yaml b/.gitea/workflows/build-production.yaml index 16578ff..84acd53 100644 --- a/.gitea/workflows/build-production.yaml +++ b/.gitea/workflows/build-production.yaml @@ -86,11 +86,10 @@ 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' \ - 'https://caperren.com:444/api/v2.0/app/stop' \ + 'https://caperren.com:444/api/v2.0/app/start' \ -H 'accept: */*' \ -H 'Authorization: Bearer ${{ secrets.TRUENAS_CAPERRENCOM_API_KEY }}' \ -H 'Content-Type: application/json' \ diff --git a/.gitea/workflows/build-staging.yaml b/.gitea/workflows/build-staging.yaml index 0eaeac2..a703610 100644 --- a/.gitea/workflows/build-staging.yaml +++ b/.gitea/workflows/build-staging.yaml @@ -85,11 +85,10 @@ 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' \ - 'https://caperren.com:444/api/v2.0/app/stop' \ + 'https://caperren.com:444/api/v2.0/app/start' \ -H 'accept: */*' \ -H 'Authorization: Bearer ${{ secrets.TRUENAS_CAPERRENCOM_API_KEY }}' \ -H 'Content-Type: application/json' \