Skip to content

Commit cd237f5

Browse files
authored
Check if ASSETS_DIR actually exists.
1 parent a6cd730 commit cd237f5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

entrypoint.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ else
9292
fi
9393

9494
# Copy dotorg assets to /assets
95-
rsync -rc "$GITHUB_WORKSPACE/$ASSETS_DIR/" assets/ --delete
95+
if [[ -d "$GITHUB_WORKSPACE/$ASSETS_DIR/" ]]; then
96+
rsync -rc "$GITHUB_WORKSPACE/$ASSETS_DIR/" assets/ --delete
97+
fi
9698

9799
# Add everything and commit to SVN
98100
# The force flag ensures we recurse into subdirectories even if they are already added

0 commit comments

Comments
 (0)