Skip to content
This repository was archived by the owner on Sep 12, 2021. It is now read-only.

Commit 04301d5

Browse files
authored
Merge pull request #20 from Notexe/appveyor
Create appveyor.yml for Discord WebHook
2 parents cd5417b + 8aba47f commit 04301d5

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

appveyor.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#---------------------------------#
2+
# build configuration #
3+
#---------------------------------#
4+
5+
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
6+
platform: x86
7+
8+
configuration: Debug
9+
10+
build:
11+
parallel: true # enable MSBuild parallel builds
12+
project: HM3CoreKill/HM3CoreKill.sln # path to Visual Studio solution or project
13+
14+
# scripts to run after build (working directory and environment changes are persisted from the previous steps)
15+
after_build: 7z a ReHitman.zip HM3CoreKill\Debug\Launcher.exe HM3CoreKill\Debug\HM3CoreKill.dll
16+
17+
#---------------------------------#
18+
# artifacts configuration #
19+
#---------------------------------#
20+
21+
artifacts:
22+
23+
- path: ReHitman.zip
24+
name: ReHitman
25+
26+
#---------------------------------#
27+
# Discord WebHook #
28+
#---------------------------------#
29+
30+
on_success:
31+
- ps: Invoke-RestMethod https://github.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
32+
- ps: ./send.ps1 success $env:WEBHOOK_URL
33+
on_failure:
34+
- ps: Invoke-RestMethod https://github.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
35+
- ps: ./send.ps1 failure $env:WEBHOOK_URL

0 commit comments

Comments
 (0)