Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Philip Stockerer
2022-04-19 13:35:34 +00:00
parent 1e6f6084e0
commit 439a0ef6c5

View File

@@ -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