Skip to content

Commit a40e693

Browse files
committed
update workflow
1 parent 7c4f4dd commit a40e693

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ec2-pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
146146
- name: Run DVC commands in container
147147
run: |
148-
mkdir model_storage
148+
mkdir -p model_storage
149149
docker run --rm --gpus=all \
150150
-v model_storage:/workspace/model_storage \
151151
-e AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} \
@@ -154,7 +154,7 @@ jobs:
154154
${{ secrets.AWS_ECR_LOGIN_URI }}/${{ secrets.ECR_REPOSITORY_NAME }}:latest \
155155
/bin/bash -c "
156156
dvc pull -r myremote && \
157-
mkdir model_storage && \
157+
mkdir -p model_storage && \
158158
dvc repro -f && \
159159
cp best_model_checkpoint.txt model_storage/
160160
"

0 commit comments

Comments
 (0)