File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ inputs:
1515 args :
1616 description : Deployment command args.
1717 required : true
18- stack_file_name :
19- description : Docker stack file used. Default is docker-compose.yaml
18+ compose_file_name :
19+ description : Docker compose file used. Default is docker-compose.yaml
2020 required : false
2121 ssh_port :
2222 description : The ssh port of the server. Default is 22
Original file line number Diff line number Diff line change @@ -35,17 +35,17 @@ if [ -z "$INPUT_ARGS" ]; then
3535 exit 1
3636fi
3737
38- if [ -z " $INPUT_STACK_FILE_NAME " ]; then
39- INPUT_STACK_FILE_NAME =docker-compose.yml
38+ if [ -z " $INPUT_COMPOSE_FILE_NAME " ]; then
39+ INPUT_COMPOSE_FILE_NAME =docker-compose.yml
4040fi
4141
4242if [ -z " $INPUT_SSH_PORT " ]; then
4343 INPUT_SSH_PORT=22
4444fi
4545
46- STACK_FILE =${INPUT_STACK_FILE_NAME }
46+ COMPOSE_FILE =${INPUT_COMPOSE_FILE_NAME }
4747DOCKER_HOST=ssh://${INPUT_REMOTE_DOCKER_HOST} :${INPUT_SSH_PORT}
48- DEPLOYMENT_COMMAND=" docker compose -f $STACK_FILE "
48+ DEPLOYMENT_COMMAND=" docker compose -f $COMPOSE_FILE "
4949
5050
5151SSH_HOST=${INPUT_REMOTE_DOCKER_HOST#*@ }
You can’t perform that action at this time.
0 commit comments