24 строки
584 B
YAML
24 строки
584 B
YAML
# 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
|