Permalink
Browse files

Swh deployment (#3)

* wip

* home linked
  • Loading branch information...
pedantix committed Jun 26, 2016
1 parent b530f6a commit 2832ed0a8ca1be17cb78d5e43d0560dcf41174bf
Showing with 10 additions and 2 deletions.
  1. +3 −1 app/views/application/_top_bar.html.erb
  2. +1 −0 bin/deploy
  3. +6 −1 circle.yml
@@ -6,7 +6,9 @@
<div class="top-bar" id="main-menu">
<div class="top-bar-left">
<ul class="dropdown menu" data-dropdown-menu>
<li class="menu-text">Deathstore</li>
<%= link_to root_path do %>
<li class="menu-text">Death Store </li>
<% end %>
</ul>
</div>
<div class="top-bar-right">
View
@@ -8,5 +8,6 @@ branch="$(git symbolic-ref HEAD --short)"
target="${1:-staging}"
git push "$target" "$branch:master"
heroku pg:backups capture --app "$target"
heroku run rake db:migrate --exit-code --remote "$target"
heroku restart --remote "$target"
View
@@ -6,6 +6,11 @@ test:
- COVERAGE=true bin/rake
deployment:
staging:
branch: master
branch: development
commands:
- bin/deploy staging
production:
branch: master
commands:
- bin/deploy production

0 comments on commit 2832ed0

Please sign in to comment.