forked from MicrosoftDocs/PowerShell-Docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
70 lines (61 loc) · 1.62 KB
/
appveyor.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# clone repo
# Convert MD to MAML
version: 1.0.{build}
branches:
only:
- staging
- live
install:
- git clone https://github.com/MicrosoftDocs/PowerShell-Docs
- ps: |
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Install-Module -Name platyPS -Repository PSGallery -Force
Install-Module -Name Pester -Repository PSGallery -Force
Import-Module ./tests/AppVeyorTest.psm1
build_script:
- ps: |
./appveyor.ps1
test_script:
- ps: |
Invoke-AppveyorTest
artifacts:
- path: updatablehelp
name: updatablehelp
only_commits:
files:
- reference/**/*
- appveyor.ps1
- appveyor.yml
- .openpublishing.build.ps1
- .openpublishing.publish.config.json
- .openpublishing.redirection.json
- tests/**/*
- '**/docfx.json'
- '**/TOC.yml'
- '**/toc.yml'
- '**/*.md'
deploy:
- provider: AzureBlob
name: live
on:
branch: live
storage_account_name: pshelp
storage_access_key:
secure: Rk2OPX/IPOix5LKL1oIyp9GjN4lCKVEgpy4eOSL4WMTOFEtOkO7+3Hw8uYCxCXtV728lxtghscOCH2XouPkSyC7fJx99keG2uz9cgBjbH9xiG+3RwXT0+2xvsBOrbYwO
container: powershell
folder: help
artifact: updatablehelp
unzip: true
set_content_type: false
- provider: AzureBlob
name: staging
on:
branch: staging
storage_account_name: pshelp
storage_access_key:
secure: Rk2OPX/IPOix5LKL1oIyp9GjN4lCKVEgpy4eOSL4WMTOFEtOkO7+3Hw8uYCxCXtV728lxtghscOCH2XouPkSyC7fJx99keG2uz9cgBjbH9xiG+3RwXT0+2xvsBOrbYwO
container: int-powershell
folder: help
artifact: updatablehelp
unzip: true
set_content_type: false