Set up CI with Azure Pipelines - Jekyll build
(Testing with Jekyll Run Azure Pipeline) [skip ci]
This commit is contained in:
Родитель
7d424e6c84
Коммит
1021996e85
|
@ -0,0 +1,23 @@
|
|||
# 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
|
||||
|
||||
trigger:
|
||||
- main
|
||||
|
||||
pool:
|
||||
vmImage: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- task: Docker@0
|
||||
displayName: 'Run Jekyll'
|
||||
inputs:
|
||||
containerRegistryType: 'Container Registry'
|
||||
action: 'Run an image'
|
||||
imageName: 'jekyll/builder:latest'
|
||||
volumes: |
|
||||
$(build.sourcesDirectory):/srv/jekyll
|
||||
$(build.binariesDirectory):/srv/jekyll/_site
|
||||
containerCommand: 'jekyll build --future'
|
||||
detached: false
|
Загрузка…
Ссылка в новой задаче