tag:help.appveyor.com,2012-11-13:/discussions/questions/3817-s3-deploymentAppVeyor: Discussion 2018-10-19T08:18:20Ztag:help.appveyor.com,2012-11-13:Comment/425120752017-05-07T22:35:12Z2017-05-07T22:35:15Zs3 deployment<div><p>To add to this, I tried defining the file as an artifact in the yaml file with:</p>
<pre>
<code>artifacts:
path: '.\packaging\windows\tidal-0.0.0.msi'</code>
</pre>
<p>and the output in the build looks more promising (attached) but I still cant see a file in s3.</p></div>PhilPhiltag:help.appveyor.com,2012-11-13:Comment/425120752017-05-07T22:57:04Z2017-05-07T22:57:04Zs3 deployment<div><p>Define artifact as:</p>
<pre>
<code>artifacts:
path: '.\packaging\windows\tidal-0.0.0.msi'
name: msi</code>
</pre>
<p>then in S3 deployment provider settings use <code>msi</code> deployment name instead of path:</p>
<pre>
<code>deploy:
- provider: S3
artifact: msi
...</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/425120752017-05-08T16:30:16Z2017-05-08T16:30:20Zs3 deployment<div><p>Oh got it. That works! Thanks.</p></div>PhilPhiltag:help.appveyor.com,2012-11-13:Comment/425120752017-05-08T21:28:56Z2017-05-08T21:28:58Zs3 deployment<div><p>If I want multiple artifacts in the <code>deploy</code> section. Is this possible in any way?</p></div>PhilPhiltag:help.appveyor.com,2012-11-13:Comment/425120752017-05-08T21:32:17Z2017-05-08T21:32:17Zs3 deployment<div><p>Sure you can have multiple artifacts and multiple deployments each for specific artifact. Easiest way to get YAML for this is to set this in UI and then use <code>Export YAML</code> menu.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/425120752017-05-09T00:27:16Z2017-05-09T00:27:18Zs3 deployment<div><p>Ok thanks. Is there a reference or doc that shows how? I'd rather not go and fill out the UI with all the info twice.</p></div>Philtag:help.appveyor.com,2012-11-13:Comment/425120752017-05-09T00:42:20Z2017-05-09T00:42:20Zs3 deployment<div><p>Here are few links you can get this information from:<br>
<a href="https://www.appveyor.com/docs/appveyor-yml/">https://www.appveyor.com/docs/appveyor-yml/</a><br>
<a href="https://www.appveyor.com/docs/packaging-artifacts/#basics">https://www.appveyor.com/docs/packaging-artifacts/#basics</a><br>
<a href="https://www.appveyor.com/docs/deployment/">https://www.appveyor.com/docs/deployment/</a></p>
<p>But using UI to create initial template is really the fastest way.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/425120752017-05-09T01:07:06Z2017-05-09T01:07:09Zs3 deployment<div><p>Ok great thanks. I did it via the UI and exported it and it created a line:<br>
<code>artifact: 'art1','art2'</code></p>
<p>I looked through those links and others and I couldn't find this syntax anywhere. It is also not so obvious as the key is singular but the value is a comma separated list.</p>
<p>I created a pull request here to help clarify for people in the future.</p>
<p><a href="https://github.com/appveyor/website/pull/297">https://github.com/appveyor/website/pull/297</a></p></div>PhilPhil