forked from MissionBit/missionbit.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
26 lines (24 loc) · 742 Bytes
/
Copy pathazure-pipelines.yml
File metadata and controls
26 lines (24 loc) · 742 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
# Jekyll site
# Package your Jekyll site using the jekyll/builder Docker container image.
# Add steps that build, test, save build artifacts, deploy, and more:
# https://aka.ms/yaml
pool:
vmImage: 'Ubuntu 16.04'
steps:
- task: Docker@0
displayName: 'Run Jekyll & Test Links'
inputs:
containerRegistryType: 'Container Registry'
action: 'Run an image'
imageName: 'jekyll/builder:latest'
volumes: |
$(build.sourcesDirectory):/srv/jekyll
$(build.binariesDirectory):/srv/jekyll/_site
containerCommand: ci/buildpipeline.sh
runInBackground: false
detached: false
- task: PublishBuildArtifacts@1
displayName: Publish Site
inputs:
artifactName: www
pathToPublish: $(build.binariesDirectory)