Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multi-stage deployment #62

Closed
ghost opened this issue Oct 13, 2012 · 3 comments
Closed

Support for multi-stage deployment #62

ghost opened this issue Oct 13, 2012 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 13, 2012

Is it on the plans?

@tilsammans
Copy link

This is built in.

I thought I had a pending pull request documenting this, but I can't find it. Going to search for it now.

@tilsammans
Copy link

It's a pending pull request for the documentation website: mina-deploy/mina-docs#1

How to implement multi-stage deployment:

# config/deploy.rb
case ENV['to']
when 'staging'
  set :domain, "staging.example.com"
else
  set :domain, "www.example.com"
end

Then to deploy to staging, execute mina deploy to=staging and you're set.

@ghost
Copy link
Author

ghost commented Oct 16, 2012

Simple. Brilliant. Thanks.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant