multiple deployment sites/versions?
Closed this issue · 4 comments
Hi @karlfreeman,
I'd like to start deploying my site in a two-stage process: First to a staging server for others within my organization to review, and then to a production server. Do you have any suggestions on how to do this?
Thanks!
Looking over middleman the concept of 'environments' doesn't exist ( its used more like what middleman is doing ) which would lead me to look at doing this within the config.rb. Perhaps @tdreyno has some thoughts but I havent looked in to it myself.
Would simply changing some of middleman-sync options be enough for your needs? ( eg changing the fog directory per environment )
Yes, being able to specify the fog directory per environment would be great.
Thanks for considering this!
I usually use ENV variable for different deploy targets.
TARGET=staging middleman build
Then use ENV['TARGET']
in my code.
Much better solution. Thanks for the input.
On Thursday, September 13, 2012, Thomas Reynolds wrote:
I usually use ENV variable for different deploy targets.
TARGET=staging middleman build
Then use ENV['TARGET'] in my code.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-8535534.