Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Commit

Permalink
adding binaries linking for apache to the deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
carolyncole committed Jan 10, 2019
1 parent 07c1a37 commit c55514b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
'log',
'public/system',
'public/uploads',
'public/binaries',
'tmp/cache',
'tmp/pids',
'tmp/sockets',
Expand Down Expand Up @@ -120,6 +121,7 @@
execute "ln -sf /#{fetch(:application)}/shared_#{fetch(:stage)}_new/public/sitemap.xml /opt/heracles/deploy/scholarsphere/shared/public/sitemap.xml"
execute "ln -sf /#{fetch(:application)}/shared_#{fetch(:stage)}_new/public/system/ /opt/heracles/deploy/scholarsphere/shared/public/"
execute "ln -sf /#{fetch(:application)}/config_#{fetch(:stage)}_new/scholarsphere/ /opt/heracles/deploy/scholarsphere/shared/config"
execute "ln -sf /#{fetch(:application)}/binaries_#{fetch(:stage)} /opt/heracles/deploy/scholarsphere/shared/public/binaries"
end
end
before 'deploy:check:linked_dirs', :symlink_shared_directories
Expand Down

0 comments on commit c55514b

Please sign in to comment.