Skip to content

Commit af72d96

Browse files
committed
fix(*): test workflow
1 parent 385ac45 commit af72d96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/cd-staging-ec2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
--instance-ids "$INSTANCE_ID" \
3535
--document-name "AWS-RunShellScript" \
3636
--comment "Deploy kaapi-backend kaapi-staging" \
37-
--parameters commands='["set -eux","sudo -iu ubuntu bash -lc \"cd /data/kaapi-backend && git fetch --all && git pull origin feat/staging-deployment-ec2 && docker compose -f docker-compose.staging.yml build && docker compose -f docker-compose.staging.yml run --rm backend uv run alembic upgrade head && docker compose -f docker-compose.staging.yml up -d --remove-orphans && docker image prune -f\""]' \
37+
--parameters commands='["set -eux","chown -R ubuntu:ubuntu /data/kaapi-backend","sudo -iu ubuntu bash -lc \"cd /data/kaapi-backend && git fetch --all && git pull origin feat/staging-deployment-ec2 && docker compose -f docker-compose.staging.yml build && docker compose -f docker-compose.staging.yml run --rm backend uv run alembic upgrade head && docker compose -f docker-compose.staging.yml up -d --remove-orphans && docker image prune -f\""]' \
3838
--cloud-watch-output-config CloudWatchOutputEnabled=true \
3939
--query "Command.CommandId" --output text)
4040
echo "cmd_id=$CMD_ID" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)