tag:help.appveyor.com,2012-11-13:/discussions/questions/287-how-do-i-trigger-an-environment-deployment-from-the-command-lineAppVeyor: Discussion 2018-08-25T01:44:09Ztag:help.appveyor.com,2012-11-13:Comment/331097522014-05-23T23:20:47Z2014-05-23T23:20:47ZHow do I trigger an Environment deployment from the command line?<div><p>There's mention of appveyor.exe and PS scripts but I can't seem
to find a definitive guide to doing it.</p></div>Jontag:help.appveyor.com,2012-11-13:Comment/331097522014-05-24T01:29:19Z2014-05-24T01:29:19ZHow do I trigger an Environment deployment from the command line?<div><p>appveyor.exe and those PS scripts have a limited functionality
for working with <strong>build worker</strong> only. However, if
you take a look at this page <a href=
"http://www.appveyor.com/docs/api">http://www.appveyor.com/docs/api</a>
you'll see that it's pretty easy to call AppVeyor REST API from
PowerShell.</p>
<p>Using AppVeyor REST API you can do literally everything you can
see on UI! Right now only a small part of API is covered in
documentation (we are still working on it), but you can use Fiddler
to see what API methods are called when you browse environments,
start a new deployment, etc.</p>
<p>Alternatively, you can just configure Environment deployment on
Deployment tab of project settings.</p>
<p>Let me know if you have any questions!</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/331097522014-05-25T08:26:24Z2014-05-25T08:26:24ZHow do I trigger an Environment deployment from the command line?<div><p>How about being able to trigger a deploy from a commit message
like skip?</p>
<p>i.e.<br>
[deploy Staging]</p></div>Jontag:help.appveyor.com,2012-11-13:Comment/331097522014-05-25T17:22:55Z2014-05-25T17:22:55ZHow do I trigger an Environment deployment from the command line?<div><p>Well, nice idea! Theoretically, there can be entire DSL for
doing various CI things through commit comments :)</p></div>Feodor Fitsner