Skip to content

Commit a646a35

Browse files
committed
merge plus exclusions
1 parent 26675c1 commit a646a35

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

deploy.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ if [[ "$BUILD_DIR" = false ]]; then
9797
# Copy from current branch to /trunk, excluding dotorg assets
9898
# The --filter flag will allow the full .gitignore syntax to be used in .distignore
9999
# The --delete flag will delete anything in destination that no longer exists in source
100-
# rsync -rc --filter="dir-merge,- $GITHUB_WORKSPACE/.distignore" "$GITHUB_WORKSPACE/" trunk/ --delete --delete-excluded
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
100+
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
104104
else
105105
echo "ℹ︎ Using .gitattributes"
106106

0 commit comments

Comments
 (0)