Skip to content

Commit 517452a

Browse files
authored
Merge pull request #26 from webkinder/develop
Update to support adding new files to distignore
2 parents c40e1df + acd7b87 commit 517452a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if [[ -e "$GITHUB_WORKSPACE/.distignore" ]]; then
5454
echo "ℹ︎ Using .distignore"
5555
# Copy from current branch to /trunk, excluding dotorg assets
5656
# The --delete flag will delete anything in destination that no longer exists in source
57-
rsync -rc --exclude-from="$GITHUB_WORKSPACE/.distignore" "$GITHUB_WORKSPACE/" trunk/ --delete
57+
rsync -rc --exclude-from="$GITHUB_WORKSPACE/.distignore" "$GITHUB_WORKSPACE/" trunk/ --delete --delete-excluded
5858
else
5959
echo "ℹ︎ Using .gitattributes"
6060

@@ -89,7 +89,7 @@ else
8989

9090
# Copy from clean copy to /trunk, excluding dotorg assets
9191
# The --delete flag will delete anything in destination that no longer exists in source
92-
rsync -rc "$TMP_DIR/" trunk/ --delete
92+
rsync -rc "$TMP_DIR/" trunk/ --delete --delete-excluded
9393
fi
9494

9595
# Copy dotorg assets to /assets

0 commit comments

Comments
 (0)