Compare commits
2 Commits
73c51e514c
...
7108aff54d
| Author | SHA1 | Date | |
|---|---|---|---|
| 7108aff54d | |||
| b0a4278699 |
@@ -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 \
|
||||
|
||||
@@ -15,6 +15,9 @@ http {
|
||||
gzip_types text/plain text/css application/json application/javascript
|
||||
text/xml application/xml application/xml+rss text/javascript;
|
||||
|
||||
access_log /dev/stdout;
|
||||
error_log /dev/stderr;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
|
||||
Reference in New Issue
Block a user