Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
@@ -19,18 +19,31 @@ steps:
|
||||
npm install
|
||||
npm run 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
|
||||
inputs:
|
||||
credentialsOption: 'inputs'
|
||||
serverUrl: 'ftp://e81782-ftp.services.easyname.eu'
|
||||
username: '127175ftp1'
|
||||
password: '.22ma1rzqi14'
|
||||
rootDirectory: '$(Agent.BuildDirectory)/s'
|
||||
rootDirectory: '$(Agent.BuildDirectory)/upload'
|
||||
filePatterns: '**'
|
||||
remoteDirectory: '/html/apps/$(Build.BuildId)/'
|
||||
clean: false
|
||||
cleanContents: false
|
||||
preservePaths: true
|
||||
trustSSL: false
|
||||
displayName: Uploading to WebSpace
|
||||
displayName: upload specified folder to webspace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user