fix: update stack deployment to use production Docker Compose file
This commit is contained in:
@@ -132,7 +132,7 @@ jobs:
|
||||
echo "Existing stack found with id=${STACK_ID}; sending update request"
|
||||
|
||||
PAYLOAD=$(jq -n \
|
||||
--rawfile stack_file docker-compose.yml \
|
||||
--rawfile stack_file docker-compose.prod.yml \
|
||||
'{StackFileContent: $stack_file, Env: [], Prune: false, PullImage: false}')
|
||||
|
||||
APPLY_HTTP_CODE=$(curl -sS -X PUT \
|
||||
@@ -150,7 +150,7 @@ jobs:
|
||||
|
||||
PAYLOAD=$(jq -n \
|
||||
--arg name "${STACK_NAME}" \
|
||||
--rawfile stack_file docker-compose.yml \
|
||||
--rawfile stack_file docker-compose.prod.yml \
|
||||
'{Name: $name, StackFileContent: $stack_file, Env: [], FromAppTemplate: false}')
|
||||
|
||||
APPLY_HTTP_CODE=$(curl -sS -X POST \
|
||||
|
||||
Reference in New Issue
Block a user