aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
blob: 91700523a627356361e4132c21b2d650bbdc2032 (plain) (blame)
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
image: Visual Studio 2015
configuration: Debug
platform: Any CPU
before_build:
- nuget restore

build:
  project: BSODPrank.sln
 
after_build:
- cmd: 7z a -tzip "BSODPrank/bin/Debug/BSODPrank.zip" "BSODPrank/bin/Debug/*"

artifacts:
- path: BSODPrank/bin/Debug/BSODPrank.zip
  name: DevBuild

deploy:
    provider: GitHub
    release: Continuous build
    description: 'BSODPrank $(appveyor_repo_tag_name)'
    auth_token:
        secure: $env:GITHUB_TOKEN
    artifact: /.*\.zip/
    draft: false
    prerelease: true
    tag: $(APPVEYOR_REPO_TAG_NAME)
    on:
        appveyor_repo_tag: true 

on_success:
  - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
  - ps: ./send.ps1 success $env:WEBHOOK_URL
on_failure:
  - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
  - ps: ./send.ps1 failure $env:WEBHOOK_URL