Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
printSANO committed Jan 7, 2025
1 parent 07d97a4 commit 6f4c7e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,20 @@ jobs:
ls
echo "Scaling Down Nest" | tee -a $LOG_FILE
chmod +x /home/ubuntu/scale_nest.sh | tee -a $LOG_FILE
/home/ubuntu/scale_nest.sh | tee -a $LOG_FILE || exit 1
/home/ubuntu/scale_nest.sh | tee -a $LOG_FILE
elif [ "$IMAGE_NAME" == "suhach0523/techeerism-parser" ]; then
echo "Scaling Down Parser" | tee -a $LOG_FILE
chmod +x /home/ubuntu/scale_parser.sh | tee -a $LOG_FILE
/home/ubuntu/scale_parser.sh | tee -a $LOG_FILE || exit 1
/home/ubuntu/scale_parser.sh | tee -a $LOG_FILE
elif [ "$IMAGE_NAME" == "suhach0523/techeerism-crawler" ]; then
echo "Scaling Down Crawler" | tee -a $LOG_FILE
chmod +x /home/ubuntu/scale_crawler.sh | tee -a $LOG_FILE
/home/ubuntu/scale_crawler.sh | tee -a $LOG_FILE || exit 1
/home/ubuntu/scale_crawler.sh | tee -a $LOG_FILE
else
echo "Invalid image name"
exit 1
fi
echo ${{ inputs.capture_stdout }}
- name: Capture Failure Details
if: always()
Expand Down

0 comments on commit 6f4c7e6

Please sign in to comment.