Skip to content

Commit 739c062

Browse files
committed
clean up
1 parent a646a35 commit 739c062

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

deploy.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,11 @@ if [[ "$BUILD_DIR" = false ]]; then
9393
echo "➤ Copying files..."
9494
if [[ -e "$GITHUB_WORKSPACE/.distignore" ]]; then
9595
echo "ℹ︎ Using .distignore"
96-
rsync --version
9796
# Copy from current branch to /trunk, excluding dotorg assets
9897
# The --filter flag will allow the full .gitignore syntax to be used in .distignore
9998
# The --delete flag will delete anything in destination that no longer exists in source
99+
# The --itemize-changes flag will show the changes made to each file
100100
rsync -rcv --filter="merge,- $GITHUB_WORKSPACE/.distignore" "$GITHUB_WORKSPACE/" trunk/ --delete --itemize-changes
101-
# sed 's/^!/+ /' "$GITHUB_WORKSPACE/.distignore" | sed 's/^[^+]/- /' > tmp_rules && \
102-
# rsync -rcv --filter="merge tmp_rules" "$GITHUB_WORKSPACE/" trunk/ --delete --itemize-changes && \
103-
# rm tmp_rules
104101
else
105102
echo "ℹ︎ Using .gitattributes"
106103

0 commit comments

Comments
 (0)