-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathappveyor.yml
77 lines (66 loc) · 2.44 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
71
72
73
74
75
76
77
# --------------------- MASTER BRANCH --------------------------
- branches:
only:
- master
skip_commits:
files:
- docs/**/*
image: Visual Studio 2019
environment:
TRELLO_USER_TOKEN:
secure: iXz20fHGEYGyCzM6ORJau88f4MDufdinOhxQeylwIlyXSNRMI3Xu/hy+3pu4rbn56cCjA0ygpY1pwmK/TG15P/kkJLe8Idcbgl9+kYeaNrw=
gh_access_token:
secure: WTbEX6xQeGKTxfQGqeqfkO8XI6oKlc/bWR+dp8teSnQsGo22e+bhbj6zp33Zq8Kq
build:
project: Manatee.Trello.sln
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
before_build:
- nuget restore Manatee.Trello.sln
- dotnet restore Manatee.Trello.sln
- git submodule update --init
artifacts:
- path: '**/*.nupkg'
name: Nuget Pkg
deploy:
provider: NuGet
# server: # remove to push to NuGet.org
api_key:
secure: F7U8mhZHK/BKgGeJ24Kj4xuWo1UwBVZQV5iH1JgsZ6eGUwCMno4GoHC9Tl3VDaso
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.Trello.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
environment:
TRELLO_USER_TOKEN:
secure: iXz20fHGEYGyCzM6ORJau88f4MDufdinOhxQeylwIlyXSNRMI3Xu/hy+3pu4rbn56cCjA0ygpY1pwmK/TG15P/kkJLe8Idcbgl9+kYeaNrw=
TRELLO_TEST_OUTPUT: true
build:
project: Manatee.Trello.sln
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
before_build:
- nuget restore Manatee.Trello.sln
- dotnet restore Manatee.Trello.sln
- git submodule update --init