lib/dogids/deploy/web.rb in dogids-cli-0.0.16 vs lib/dogids/deploy/web.rb in dogids-cli-0.0.17
- old
+ new
@@ -34,13 +34,23 @@
end
end
end
print_heading("Done.")
+ print_cloudflare_warning
end
end
private
+
+ def print_cloudflare_warning
+ puts ""
+ puts "================================================================================"
+ puts " DON'T FORGET TO PURGE THE CLOUDFLARE CACHE!"
+ puts " https://www.cloudflare.com/a/caching/dogids.com"
+ puts "================================================================================"
+ puts ""
+ end
def web_git_pull_command
commands = []
commands << "cd /home/dogids/apps/dogids.com"
commands << "sudo chown dogids:dogids -R .git"