File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8888 --region "${AWS_REGION}" \
8989 --instance-ids "${SSM_TARGET}" \
9090 --document-name "AWS-RunShellScript" \
91- --parameters 'commands=["sudo su ubuntu -c \"cd ~/docmost && IMAGE_TAG=${{ github.event.inputs.version }} docker compose pull && IMAGE_TAG=${{ github.event.inputs.version }} docker compose up -d\""]' \
91+ --parameters 'commands=["sudo su ubuntu -c \"cd ~/docmost && sudo IMAGE_TAG=${{ github.event.inputs.version }} docker compose pull && sudo IMAGE_TAG=${{ github.event.inputs.version }} docker compose up -d\""]' \
9292 --output text \
9393 --query "Command.CommandId")
9494
9999 aws ssm wait command-executed \
100100 --region "${AWS_REGION}" \
101101 --command-id "${COMMAND_ID}" \
102- --instance-id "${SSM_TARGET}"
102+ --instance-id "${SSM_TARGET}" || true
103103
104104 # Get command output
105105 echo "Command output:"
You can’t perform that action at this time.
0 commit comments