Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/adblockplus/templates/web/static_deploy_script.sh.erb

Issue 29689695: #7320 - Introduce helpcenter role (Closed)
Patch Set: Created Feb. 5, 2018, 5:59 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/adblockplus/templates/web/static.conf.erb ('k') | modules/private-stub/hiera/hosts.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/adblockplus/templates/web/static_deploy_script.sh.erb
diff --git a/modules/adblockplus/templates/web/static_deploy_script.sh.erb b/modules/adblockplus/templates/web/static_deploy_script.sh.erb
new file mode 100644
index 0000000000000000000000000000000000000000..6507a730dcf8cbb3bf4e7a07e2d3c56db94d117c
--- /dev/null
+++ b/modules/adblockplus/templates/web/static_deploy_script.sh.erb
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+echo "Your original command was: " $SSH_ORIGINAL_COMMAND
+
+# some demo of what the real deployment script would do
+mkdir ~/builds
+cd ~/builds
+mkdir mybuild
+cd mybuild
+date > index
+cp -av * /var/www/<%= @domain %>/
+
« no previous file with comments | « modules/adblockplus/templates/web/static.conf.erb ('k') | modules/private-stub/hiera/hosts.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld