This repository has been archived by the owner on Feb 15, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
appveyor.yml
69 lines (58 loc) · 2.03 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
# --------------------- MASTER BRANCH --------------------------
- branches:
only:
- master
skip_commits:
files:
- docs/**/*
image: Visual Studio 2019
environment:
gh_access_token:
secure: jm9ZkMmKGxetJfX6wsjFYUYiLhsX1yC7185wYdFHLicXGUD+vm5ywPNfK3mWSPzk
build:
project: Manatee.Json.sln
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
before_build:
- dotnet restore Manatee.Json.sln
- git submodule update --init
artifacts:
- path: '**/*.nupkg'
name: Nuget Pkg
deploy:
provider: NuGet
# server: # remove to push to NuGet.org
api_key:
secure: I2uIJbT1h5SIKT6RD4n4V+b302AX4q/a4NmvFy65IjKlCYE/Fo9BMqGoDNeylnNQ
skip_symbols: false
# symbol_server: # remove to push symbols to SymbolSource.org
artifact: /.*\.nupkg/
on:
branch: master
after_deploy:
# Switch branches to gh-pages, clean the folder, copy everything in from the Wyam output, and commit/push
# See http://www.appveyor.com/docs/how-to/git-push for more info
- git config --global credential.helper store
# EDIT your Git email and name
- git config --global user.email [email protected]
- git config --global user.name "Greg Dennis"
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:gh_access_token):[email protected]`n"
- cmd: build-docs.bat
# EDIT the origin of your repository - have to reset it here because AppVeyor pulls from SSH, but GitHub won't accept SSH pushes
- git remote set-url origin https://github.com/gregsdennis/Manatee.Json.git
- git checkout master
- git add -A
- git commit -a -m "regenerated docs"
- git push
# --------------------- ALL OTHER BRANCHES ---------------------
- branches:
except:
- master
image: Visual Studio 2019
build:
project: Manatee.Json.sln
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
before_build:
- dotnet restore Manatee.Json.sln
- git submodule update --init