tag:help.appveyor.com,2012-11-13:/discussions/problems/24291-deploy-artifact
AppVeyor: Discussion
2019-07-10T17:58:34Z
tag:help.appveyor.com,2012-11-13:Comment/47414744
2019-07-08T19:08:26Z
2019-07-08T19:08:26Z
Deploy Artifact
<div><p>Hi Barrie,</p>
<p>Can you please share your build configuration in YAML format (use <code>Export YAML</code> menu is you use UI)? Feel free to make this discussion private if needed.</p>
<p>Ilya.</p></div>
Ilya Finkelshteyn
tag:help.appveyor.com,2012-11-13:Comment/47414744
2019-07-09T05:49:18Z
2019-07-09T16:44:29Z
Deploy Artifact
<div><p>Hi IIya,</p>
<p>Thanks for picking this issue up.</p>
<p>YAML file below:-</p>
<pre>
<code>version: 1.0.{build}
image: Visual Studio 2019
environment:
matrix:
- nodejs_version: 10
install:
- ps: Install-Product node $env:nodejs_version
cache: ./release
build_script:
- cmd: >-
node --version
npm --version
npm install
npm install -g @angular/cli@8.0.6
ng --version
npm install @ngrx/entity
npx babel bridge --out-dir bridge1
ng build --base-href ./
npm run dist
artifacts:
- path: release
name: seersweep
type: WebDeployPackage
deploy:
- provider: S3
access_key_id: A***********************A
secret_access_key:
secure: h******************************************************************v
region: ap-southeast-2
bucket: *****-release
folder: v1
artifact: release</code>
</pre></div>
Barrie Hughes
tag:help.appveyor.com,2012-11-13:Comment/47414744
2019-07-09T16:47:59Z
2019-07-09T16:47:59Z
Deploy Artifact
<div><p>Please try using artifact <strong>name</strong> (<code>seersweep</code>) instead of <strong>path</strong> (<code>release</code>) in the deployment settings, e.g.</p>
<pre>
<code>deploy:
- provider: S3
...
artifact: seersweep</code>
</pre>
<p>Let us know if this helps.</p></div>
Ilya Finkelshteyn
tag:help.appveyor.com,2012-11-13:Comment/47414744
2019-07-09T18:23:09Z
2019-07-09T18:23:09Z
Deploy Artifact
<div><p>Hi IIya,</p>
<p>Thanks that did the trick, replying to my S3 now</p></div>
Barrie Hughes
tag:help.appveyor.com,2012-11-13:Comment/47414744
2019-07-10T17:58:33Z
2019-07-10T17:58:33Z
Deploy Artifact
<div><p>Great, thanks for the update!</p></div>
Ilya Finkelshteyn