Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ajithvcoder committed Nov 4, 2024
1 parent be599e1 commit 0e7f972
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ec2-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,18 @@ jobs:
# # Stop the container after retrieving logs
# docker stop $CONTAINER_ID
- name: List files in folder
run: |
ls -l ./
- name: List files in folder
run: |
ls -l ./model_storage
- name: Read best checkpoint file name
id: read_checkpoint
run: |
checkpoint_file=$(head -n 1 model_storage/best_model_checkpoint.txt)
checkpoint_file=$(head -n 1 ./model_storage/best_model_checkpoint.txt)
echo "CHECKPOINT_FILE=$checkpoint_file" >> $GITHUB_ENV
- name: Get latest commit ID
Expand Down

0 comments on commit 0e7f972

Please sign in to comment.