We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9273e6d commit 4c95c0cCopy full SHA for 4c95c0c
1 file changed
deploy.sh
@@ -94,8 +94,9 @@ if [[ "$BUILD_DIR" = false ]]; then
94
if [[ -e "$GITHUB_WORKSPACE/.distignore" ]]; then
95
echo "ℹ︎ Using .distignore"
96
# Copy from current branch to /trunk, excluding dotorg assets
97
+ # The --filter flag will allow the full .gitignore syntax to be used in .distignore
98
# The --delete flag will delete anything in destination that no longer exists in source
- rsync -rc --exclude-from="$GITHUB_WORKSPACE/.distignore" "$GITHUB_WORKSPACE/" trunk/ --delete --delete-excluded
99
+ rsync -rc --filter="merge $GITHUB_WORKSPACE/.distignore" "$GITHUB_WORKSPACE/" trunk/ --delete --delete-excluded
100
else
101
echo "ℹ︎ Using .gitattributes"
102
0 commit comments