Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
@@ -19,18 +19,31 @@ steps:
|
|||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
displayName: 'npm install and build'
|
displayName: 'npm install and build'
|
||||||
|
|
||||||
|
- task: CopyFiles@2
|
||||||
|
inputs:
|
||||||
|
SourceFolder: '$(Agent.BuildDirectory)/s'
|
||||||
|
Contents: |
|
||||||
|
**
|
||||||
|
!package-lock.json
|
||||||
|
!package.json
|
||||||
|
!tsconfig.json
|
||||||
|
!**\.git\**
|
||||||
|
!**\node_modules\**
|
||||||
|
TargetFolder: '$(Agent.BuildDirectory)/upload'
|
||||||
|
displayName: Copy files to be uploaded to webspace in upload folder
|
||||||
- task: FtpUpload@2
|
- task: FtpUpload@2
|
||||||
inputs:
|
inputs:
|
||||||
credentialsOption: 'inputs'
|
credentialsOption: 'inputs'
|
||||||
serverUrl: 'ftp://e81782-ftp.services.easyname.eu'
|
serverUrl: 'ftp://e81782-ftp.services.easyname.eu'
|
||||||
username: '127175ftp1'
|
username: '127175ftp1'
|
||||||
password: '.22ma1rzqi14'
|
password: '.22ma1rzqi14'
|
||||||
rootDirectory: '$(Agent.BuildDirectory)/s'
|
rootDirectory: '$(Agent.BuildDirectory)/upload'
|
||||||
filePatterns: '**'
|
filePatterns: '**'
|
||||||
remoteDirectory: '/html/apps/$(Build.BuildId)/'
|
remoteDirectory: '/html/apps/$(Build.BuildId)/'
|
||||||
clean: false
|
clean: false
|
||||||
cleanContents: false
|
cleanContents: false
|
||||||
preservePaths: true
|
preservePaths: true
|
||||||
trustSSL: false
|
trustSSL: false
|
||||||
displayName: Uploading to WebSpace
|
displayName: upload specified folder to webspace
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user