-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
34 lines (31 loc) · 847 Bytes
/
azure-pipelines.yml
File metadata and controls
34 lines (31 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#trigger:
#- master
pool:
vmImage: 'windows-latest'
steps:
- task: NodeTool@0
inputs:
versionSpec: '18.9.0'
displayName: 'Install Node.js'
- script: |
npm install
displayName: 'npm install'
- script: |
npm run build
displayName: 'npm build'
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'drop'
publishLocation: 'FilePath'
TargetPath: '$(Build.ArtifactStagingDirectory)'
- task: AmazonWebServices.aws-vsts-tools.S3Upload.S3Upload@1
displayName: 'S3 Upload: content.skypoint.com.au'
inputs:
awsCredentials: 'AWS-S3-Connection'
regionName: 'ap-southeast-2'
bucketName: content.skypoint.com.au
sourceFolder: '$(Build.ArtifactStagingDirectory)'
globExpressions: '/drop/**/*'
targetFolder: sky22
filesAcl: 'public-read'