Is it on the plans?
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.
It's a pending pull request for the documentation website: https://github.com/nadarei/mina-docs/pull/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.
Simple. Brilliant. Thanks.
Most helpful comment
It's a pending pull request for the documentation website: https://github.com/nadarei/mina-docs/pull/1
How to implement multi-stage deployment:
Then to deploy to staging, execute
mina deploy to=staging
and you're set.