File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
export CLEAN_BRANCH_NAME=$CLEAN_BRANCH_NAME # set this env variable for docker compose
4
4
5
+ if [[ -n $WORK_DIR ]]
6
+ then
7
+ cd $WORK_DIR
8
+ fi
9
+
5
10
echo " Deploy to ${APP_NAME} -qa.satel.ca"
6
11
export DOCKER_TLS_VERIFY=' 1'
7
12
export DOCKER_HOST=' tcp://34.234.172.171:2376'
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ inputs:
16
16
clean-branch-name :
17
17
description : Clean branch name
18
18
required : true
19
+ work-dir :
20
+ description : work directory
21
+ required : false
19
22
20
23
runs :
21
24
using : " composite"
27
30
DOCKER_PASS : ${{ inputs.satel-docker-pass }}
28
31
REGISTRY : ${{ inputs.satel-registry }}
29
32
CLEAN_BRANCH_NAME : ${{ inputs.clean-branch-name }}
33
+ WORK_DIR : ${{ inputs.work-dir }}
30
34
run : ${{ github.action_path }}/DeployToQA.sh
31
35
shell : bash
You can’t perform that action at this time.
0 commit comments