We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fc33b4 commit e555ca9Copy full SHA for e555ca9
1 file changed
.github/workflows/deploy.yml
@@ -88,7 +88,7 @@ jobs:
88
--region "${AWS_REGION}" \
89
--instance-ids "${SSM_TARGET}" \
90
--document-name "AWS-RunShellScript" \
91
- --parameters "commands=[\"cd ~/docmost && sudo IMAGE_TAG=${{ github.event.inputs.version }} docker compose pull && sudo IMAGE_TAG=${{ github.event.inputs.version }} docker compose up -d\"]" \
+ --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\""]' \
92
--output text \
93
--query "Command.CommandId")
94
0 commit comments