Commit 42c456c74c074e5ede7b2a53a8298553913bc832
1 parent
4ec2df6c
Exists in
master
and in
2 other branches
Clean up.
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
bin/publish
@@ -58,14 +58,14 @@ On_Cyan='\033[46m' # Cyan | @@ -58,14 +58,14 @@ On_Cyan='\033[46m' # Cyan | ||
58 | On_White='\033[47m' # White | 58 | On_White='\033[47m' # White |
59 | 59 | ||
60 | 60 | ||
61 | -# LOCAL CLEANUP ################################################################ | 61 | +# LOCAL CLEANUP ############################################################### |
62 | 62 | ||
63 | # Clear the local cache, it's good design (we're not uploading it anyways) | 63 | # Clear the local cache, it's good design (we're not uploading it anyways) |
64 | echo -e "${Green}Cleaning local files...${Off}" | 64 | echo -e "${Green}Cleaning local files...${Off}" |
65 | rm -R cache/* | 65 | rm -R cache/* |
66 | 66 | ||
67 | 67 | ||
68 | -# UPLOAD ####################################################################### | 68 | +# UPLOAD ###################################################################### |
69 | 69 | ||
70 | # Delete is dangerous, as we're using a file-based database | 70 | # Delete is dangerous, as we're using a file-based database |
71 | # so we need to exclude some directories and files. | 71 | # so we need to exclude some directories and files. |
@@ -84,7 +84,7 @@ rsync -r --delete \ | @@ -84,7 +84,7 @@ rsync -r --delete \ | ||
84 | . ${USER}@${SERVER}:${REMOTE_DIR} | 84 | . ${USER}@${SERVER}:${REMOTE_DIR} |
85 | 85 | ||
86 | 86 | ||
87 | -# REMOTE CLEANUP ############################################################### | 87 | +# REMOTE CLEANUP ############################################################## |
88 | 88 | ||
89 | # Run some scripts on the server, now | 89 | # Run some scripts on the server, now |
90 | # You're going to need in your sudoers file something like : | 90 | # You're going to need in your sudoers file something like : |