From 9bfc5e1cd5fd5106d65bd7d637cf5e1705a1eb6a Mon Sep 17 00:00:00 2001 From: Tully Foote Date: Wed, 27 Oct 2021 23:46:02 -0700 Subject: [PATCH] update upload script with fixed include paths Signed-off-by: Tully Foote --- upload.bash | 4 +++- upload_exclusions.txt | 12 ++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 upload_exclusions.txt diff --git a/upload.bash b/upload.bash index 6465938..21fa261 100755 --- a/upload.bash +++ b/upload.bash @@ -1,4 +1,6 @@ #!/bin/bash -rsync -av --delete output/ ros1.osuosl.org:/var/www/beta.ros.org --exclude .well-known \ No newline at end of file +# todo read --delete when excludes are verified + +rsync -av output/ ros1.osuosl.org:/var/www/beta.ros.org --exclude-from=upload_exclusions.txt diff --git a/upload_exclusions.txt b/upload_exclusions.txt new file mode 100644 index 0000000..fad6e96 --- /dev/null +++ b/upload_exclusions.txt @@ -0,0 +1,12 @@ +.well-known +news +reps +wordpress +wp-content +wp-config.php +images +wp-config.php +mt-static +index.php +favicon.ico +mt.cgi \ No newline at end of file