Set up CI with Azure Pipelines - Jekyll build

(Testing with Jekyll Run Azure Pipeline) [skip ci]
This commit is contained in:
Ian Y. Choi 2021-08-24 01:45:03 +09:00
Родитель 7d424e6c84
Коммит 1021996e85
1 изменённых файлов: 23 добавлений и 0 удалений

23
azure-pipelines.yml Normal file
Просмотреть файл

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