fixmultiline
This commit is contained in:
@@ -47,13 +47,14 @@ definitions:
|
||||
- apt-get update && apt-get install -y jq git
|
||||
- pip install awscli
|
||||
- *aws-context
|
||||
- aws ssm send-command --document-name "AWS-RunShellScript" --instance-ids $INSTANCE_ID_TF --region $AWS_DEFAULT_REGION --parameters commands='[
|
||||
"sudo -u ubuntu -i <<EOF",
|
||||
"export HOME=/home/ubuntu",
|
||||
"git config --global --add safe.directory /home/ubuntu/doczy.ai",
|
||||
"if [ -d /home/ubuntu/doczy.ai ]; then cd /home/ubuntu/doczy.ai && git fetch && git pull; else cd /home/ubuntu && git clone git@bitbucket.org:aarete/doczy.ai.git; fi",
|
||||
"EOF"
|
||||
\]'
|
||||
- >-
|
||||
aws ssm send-command --document-name "AWS-RunShellScript" --instance-ids $INSTANCE_ID_TF --region $AWS_DEFAULT_REGION --parameters commands='[
|
||||
"sudo -u ubuntu -i <<EOF",
|
||||
"export HOME=/home/ubuntu",
|
||||
"git config --global --add safe.directory /home/ubuntu/doczy.ai",
|
||||
"if [ -d /home/ubuntu/doczy.ai ]; then cd /home/ubuntu/doczy.ai && git fetch && git pull; else cd /home/ubuntu && git clone git@bitbucket.org:aarete/doczy.ai.git; fi",
|
||||
"EOF"
|
||||
]'
|
||||
condition:
|
||||
changesets:
|
||||
includePaths:
|
||||
|
||||
Reference in New Issue
Block a user