forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 1
/
old_pipelines.yml
39 lines (35 loc) · 1.21 KB
/
old_pipelines.yml
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
35
36
37
38
39
# 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
name: Clear-Code Blog
trigger: none
pr: none
pool:
vmImage: 'Ubuntu 16.04'
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'
# detached: false
# PowerShell
# Run a PowerShell script on Windows, macOS, or Linux.
- task: PowerShell@2
displayName: 'Trigger Github Pages Build'
inputs:
targetType: 'filePath' # Optional. Options: filePath, inline
filePath: ./Invoke-PagesBuild.ps1 # Required when targetType == FilePath
arguments: $(PagesApiKey) # Optional
#script: 'Get-Location' # Required when targetType == Inline
errorActionPreference: 'stop' # Optional. Options: stop, continue, silentlyContinue
failOnStderr: true # Optional
#ignoreLASTEXITCODE: false # Optional
pwsh: true # Optional
#workingDirectory: /home/vsts/work/1/s/