Page MenuHomeGRNET

No OneTemporary

File Metadata

Created
Mon, Nov 25, 9:02 AM
diff --git a/config/deploy/production-ci.rb b/config/deploy/production-ci.rb
new file mode 100644
index 0000000..16498ee
--- /dev/null
+++ b/config/deploy/production-ci.rb
@@ -0,0 +1,9 @@
+set :rails_env, :production
+
+server 'webdns4.grnet.gr', user: 'deployer', roles: %w(web app db)
+
+set :ssh_options, forward_agent: false, port: 29
+
+#Override rm and ln commands with sudo, for use with jenkins deployer
+SSHKit.config.command_map[:rm] = 'sudo rm'
+SSHKit.config.command_map[:ln] = 'sudo ln'

Event Timeline