Skip to content

Commit ba02be2

Browse files
committed
safe-create APP_DIR and delete contents
1 parent ef79bd7 commit ba02be2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- name: Copy files to app directory
3232
run: |
33-
rm -rf $APP_DIR && mkdir $APP_DIR
33+
mkdir -p $APP_DIR && rm -rf $APP_DIR/*
3434
cp main $APP_DIR/main
3535
cp -r $ENV_DIR/{*,.[^.]*} $APP_DIR/
3636
rm $APP_DIR/$LOG_FILE

0 commit comments

Comments
 (0)