-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathappveyor.yml
33 lines (27 loc) · 1.04 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
# See http://www.appveyor.com/docs/appveyor-yml for many more options
#Publish to PowerShell Gallery with this key
environment:
NuGetApiKey:
secure: +lqWVtVRayO6KNlJeu9lrnzmtGXreNPIr1Fn3dhXxYTJAHHAOPCPVWvFVkRX7wlr
GitToken:
secure: m8fv0iJ0CQHaQsAGgdlOe+M/oI8CcDls9BBG19oeUB3NZEsVCc4px9iZQIIIZSr6
# Allow WMF5 (i.e. PowerShellGallery functionality)
os: Visual Studio 2017
# Skip on updates to the readme.
# We can force this by adding [skip ci] or [ci skip] anywhere in commit message
skip_commits:
message: /updated readme.*|update readme.*s/
build: false
#Kick off the CI/CD pipeline
test_script:
- ps: . .\build.ps1
on_success:
- git config --global credential.helper store
- ps: Add-Content "$HOME\.git-credentials" "https://$($env:GitToken):[email protected]`n"
- git config --global user.email "[email protected]"
- git config --global user.name "Appveyor"
- git checkout %APPVEYOR_REPO_BRANCH%
- git add *.psd1
- git add *.md
- git commit -m "[skip ci] AppVeyor Build %APPVEYOR_BUILD_VERSION%"
- git push