mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Replace STACK_YAML_PATH with DOCKER_COMPOSE_FILE
This commit is contained in:
parent
b87976549c
commit
44c56fa43a
4
psu
Executable file → Normal file
4
psu
Executable file → Normal file
@ -70,9 +70,7 @@ echo_debug () {
|
|||||||
# Create/update a stack #
|
# Create/update a stack #
|
||||||
#########################
|
#########################
|
||||||
deploy () {
|
deploy () {
|
||||||
STACK_YAML_PATH=$DOCKER_COMPOSE_FILE
|
STACK_YAML_CONTENT=$(cat "$DOCKER_COMPOSE_FILE")
|
||||||
|
|
||||||
STACK_YAML_CONTENT=$(cat "$STACK_YAML_PATH")
|
|
||||||
|
|
||||||
# Escape carriage returns
|
# Escape carriage returns
|
||||||
STACK_YAML_CONTENT="${STACK_YAML_CONTENT//$'\r'/''}"
|
STACK_YAML_CONTENT="${STACK_YAML_CONTENT//$'\r'/''}"
|
||||||
|
Loading…
Reference in New Issue
Block a user