Show only the updated files when uploading the docs

Don't use rsync "--verbose" option as it's too verbose, show just the
names of the files being uploaded.
This commit is contained in:
Vadim Zeitlin 2022-03-28 11:44:48 +02:00
parent dfb4a3bd02
commit 263b1844dc

View File

@ -60,5 +60,5 @@ jobs:
echo "$DOCS_WEBSITE_KEY" > "$HOME/.ssh/docs_website_key" echo "$DOCS_WEBSITE_KEY" > "$HOME/.ssh/docs_website_key"
chmod 600 "$HOME/.ssh/docs_website_key" chmod 600 "$HOME/.ssh/docs_website_key"
echo "$DOCS_WEBSITE_SSH_CONFIG" > "$HOME/.ssh/config" echo "$DOCS_WEBSITE_SSH_CONFIG" > "$HOME/.ssh/config"
rsync --checksum --compress --delete --recursive --verbose out/html/ wxdocs:public_html/latest/ \ rsync --checksum --compress --delete --out-format='%n' --recursive out/html/ wxdocs:public_html/latest/ \
2> >(grep -v "Warning: Permanently added" 1>&2) 2> >(grep -v "Warning: Permanently added" 1>&2)