tag:help.appveyor.com,2012-11-13:/discussions/problems/820-dual-environments-one-target-serverAppVeyor: Discussion 2018-10-19T08:16:45Ztag:help.appveyor.com,2012-11-13:Comment/347226452014-09-25T12:01:59Z2014-09-25T12:02:07ZDual environments, one target server?<div><p>Hi, is it possible to use your deployment agent to deploy to
both a staging environment and a production environment on the same
server? Am I going about this all wrong? Seems problematic, since
agent seems lika it can hold only one environment access key.<br>
But a server could easily host a lot of sites which makes me
believe there could be a solution. Something I'm missing?<br>
Do we need to switch deploy method to get this working?</p></div>emanuel.lundmantag:help.appveyor.com,2012-11-13:Comment/347226452014-09-25T19:18:53Z2014-09-25T19:18:53ZDual environments, one target server?<div><p>Hi Emanuel,</p>
<p>This is absolutely possible with deployment agent. You can
notice that "environment access key" field is editable on
environment settings. That means you can use the same access key
for two or more environments - they should not necessary be
unique.</p>
<p>Let me know if you have any questions.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/347226452014-09-25T19:32:54Z2014-09-25T19:32:54ZDual environments, one target server?<div><p>Hadn't noticed.<br>
Great!<br>
Thanks!</p>
<p>25 sep 2014 kl. 21:19 skrev Feodor Fitsner <<br>
<a href=
"mailto:tender2+d1e4a0dac63e17ee053ecea92168c6e17e27af47f@tenderapp.com">
tender2+d1e4a0dac63e17ee053ecea92168c6e17e27af47f@tenderapp.com</a>>:</p></div>emanuel.lundman