Skip to content

Commit

Permalink
updated ci cd
Browse files Browse the repository at this point in the history
  • Loading branch information
yesidevelop committed Mar 28, 2024
1 parent f2fe7e7 commit aa5f0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
chmod 600 ssh_key.pem
if [ ${{ github.ref }} = 'refs/heads/develop' ]; then
ssh -o StrictHostKeyChecking=no -i ssh_key.pem ${DEV_SSH_HOST} 'export DOCKER_IMAGE_NAME=$AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$CONTAINER_IMAGE && cd /curriki && docker service update --image $DOCKER_IMAGE_NAME currikistack_currikiprod-api'
ssh -o StrictHostKeyChecking=no -i ssh_key.pem ${DEV_SSH_HOST} "export DOCKER_IMAGE_NAME=$AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$CONTAINER_IMAGE && cd /curriki && docker service update --image $DOCKER_IMAGE_NAME currikistack_currikiprod-api"
elif [ ${{ github.ref }} = 'refs/heads/master' ]; then
echo "In Master"
else
Expand Down

0 comments on commit aa5f0ac

Please sign in to comment.