Last active
June 21, 2018 13:05
Revisions
-
developer88 revised this gist
Jun 9, 2016 . No changes.There are no files selected for viewing
-
developer88 revised this gist
May 1, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ # Manually create these paths in shared/ (eg: shared/config/database.yml) in your server. # They will be linked in the 'deploy:link_shared_paths' step. set :shared_paths, ['cache', 'files', 'images/upload_icons'] set :user, '%USERNAME%' # Username in the server to SSH to. set :forward_agent, true # SSH forward_agent. -
developer88 created this gist
Apr 2, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ require 'mina/bundler' require 'mina/git' set :application, "forum" set :domain, '%SERVERNAME%' set :deploy_to, "%PATH-TO-APPLICATION%" set :repository, '%REPOSITORY-URL%.git' set :branch, 'master' set :login, "%LOGIN%" # Manually create these paths in shared/ (eg: shared/config/database.yml) in your server. # They will be linked in the 'deploy:link_shared_paths' step. set :shared_paths, ['cache', 'download', 'files', 'images/upload_icons'] set :user, '%USERNAME%' # Username in the server to SSH to. set :forward_agent, true # SSH forward_agent. set :keep_releases, 5 set :current_path, 'htdocs' desc "Deploys the current version to the server." task :deploy => :environment do deploy do invoke :'git:clone' invoke :'deploy:link_shared_paths' invoke :'deploy:cleanup' end end