Skip to content

Commit

Permalink
Update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas von Deyen committed Dec 16, 2016
1 parent d2270b0 commit 5e4abd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
set :scm, :none
set :repository, "./guides/output"
set :deploy_via, :copy
set :deploy_to, "/var/www/alchemy-guides"
set :deploy_to, "/var/www/alchemy-guides/html"
set :guide_version, -> do
branch = `git rev-parse --abbrev-ref HEAD`.strip
branch == 'master' ? 'edge' : branch
end
set :current_path, "#{deploy_to}/#{guide_version}"
set :user, 'web1'
set :user, 'guides'

role :app, "109.234.107.117"
role :app, "alchemy-cms.com"
set :use_sudo, false

# Override default tasks which are not relevant to a non-rails app.
Expand Down

0 comments on commit 5e4abd6

Please sign in to comment.