added ftp deployement

This commit is contained in:
Nicolas Constant 2019-04-06 19:10:58 -04:00
parent 6aa6af133e
commit a48caa3bc5
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 13 additions and 2 deletions

View File

@ -25,10 +25,21 @@ test_script:
$wc = New-Object 'System.Net.WebClient'
Get-ChildItem . -Name -Recurse 'TESTS-*.xml' |
Foreach-Object {
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $_))
}
- npm run dist
artifacts:
- path: dist
- path: dist
deploy:
- provider: FTP
host: home205977321.1and1-data.host
protocol: sftp
username: u45308485-sengi
password:
secure: Sk3NZwuaYK9hTIQ3kgIIQEc8SmaPDVGvGpgsZzFEzoVLuy4WxVfvKQtegW9oXaj7
folder: /
application: dist.zip
on:
branch: master