Skip to content

Commit

Permalink
command to stash changes if re-deploying a change
Browse files Browse the repository at this point in the history
  • Loading branch information
deepansh96 committed Feb 29, 2024
1 parent 4135887 commit ac7b6cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deployment/runOnBastion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ for i in "${!instanceIdsArray[@]}"; do
echo "[EC2 Action] Updating codebase and restarting the application..."
cd /home/ec2-user/quiz-backend
git stash
echo "Changed directory to /home/ec2-user/quiz-backend"
git checkout $BRANCH_NAME_TO_DEPLOY
echo "Checked out branch $BRANCH_NAME_TO_DEPLOY"
Expand Down

0 comments on commit ac7b6cb

Please sign in to comment.