File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ ################################################################################
2
+ ## Setup Environment
3
+ ################################################################################
4
+
5
+ # The Git branch this environment should be attached to.
6
+ set :branch , 'main'
7
+
8
+ # The environment's name. To be used in commands and other references.
9
+ set :stage , :production
10
+
11
+ # The URL of the website in this environment.
12
+ set :stage_url , 'elearning.production.wordpress-linode.linode.unep-wcmc.org'
13
+
14
+ # The environment's server credentials
15
+ server 'production.wordpress-linode.linode.unep-wcmc.org' , user : 'wcmc' , roles : %w( web app db )
16
+
17
+ # The deploy path to the website on this environment's server.
18
+ set :deploy_to , "/home/#{ fetch ( :deploy_user ) } /#{ fetch ( :application ) } "
19
+
20
+ # The web user on this environment's server.
21
+ set :web_user , 'www-data'
You can’t perform that action at this time.
0 commit comments