mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-27 02:23:28 +08:00
Switch away from Appveyor “artifacts” feature which insists on full paths on S3
This commit is contained in:
parent
df2172a0b9
commit
b21a4fe8d5
1 changed files with 6 additions and 5 deletions
|
@ -25,19 +25,20 @@ build_script:
|
||||||
- cmd: npm install && npm run build
|
- cmd: npm install && npm run build
|
||||||
- cmd: node app/build/create-signed-windows-installer.js
|
- cmd: node app/build/create-signed-windows-installer.js
|
||||||
|
|
||||||
artifacts:
|
before_deploy:
|
||||||
- path: app\dist\MeraniSetup.exe
|
- ps: Get-ChildItem .\app\dist\*.exe | % { Push-AppveyorArtifact $_.FullName -FileName "win-ia32/$($_.Name)" -DeploymentName s3-deployment }
|
||||||
- path: app\dist\RELEASES
|
- ps: Get-ChildItem .\app\dist\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName "win-ia32/$($_.Name)" -DeploymentName s3-deployment }
|
||||||
- path: app\dist\*.nupkg
|
- ps: Get-ChildItem .\app\dist\RELEASES | % { Push-AppveyorArtifact $_.FullName -FileName "win-ia32/$($_.Name)" -DeploymentName s3-deployment }
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
- provider: S3
|
- provider: S3
|
||||||
|
name: s3-deployment
|
||||||
access_key_id: AKIAJQWOM4SPSY3TXI5Q
|
access_key_id: AKIAJQWOM4SPSY3TXI5Q
|
||||||
secret_access_key:
|
secret_access_key:
|
||||||
secure: XlLzz7sdvrtgi4g459NvxLfrH/+hOutb+0Osz29unfi4Zcw9N8H8SEaq6m3ZeWc+
|
secure: XlLzz7sdvrtgi4g459NvxLfrH/+hOutb+0Osz29unfi4Zcw9N8H8SEaq6m3ZeWc+
|
||||||
region: us-east-1
|
region: us-east-1
|
||||||
bucket: merani-builds
|
bucket: merani-builds
|
||||||
folder: client/$env:appveyor_repo_commit.SubString(0,8)/win-ia32
|
folder: "client/$(env:appveyor_repo_commit.SubString(0,8))"
|
||||||
set_public: true
|
set_public: true
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue