forked from juice-shop/pwning-juice-shop
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
40 lines (40 loc) · 888 Bytes
/
.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
version: '{build}'
init:
- 'git config --global core.autocrlf true'
branches:
only:
- master
- develop
skip_commits:
files:
- LICENSE
environment:
nodejs_version: 8
platform:
- x64
install:
- ps: 'Install-Product node $env:nodejs_version $env:platform'
- 'node --version && npm --version'
- 'npm i -g gitbook-cli'
- 'choco install calibre'
- 'refreshenv'
- 'npm i -g svgexport'
- 'if exist _book rd /Q /S _book'
- 'gitbook install'
- 'gitbook pdf'
- 'gitbook mobi'
- 'gitbook epub'
build: off
test: off
artifacts:
- path: '*.pdf'
- path: '*.mobi'
- path: '*.epub'
notifications:
-
provider: Slack
incoming_webhook:
secure: KzO8e88B0LKqAI0BQM6lNhCIn9rxAava3AcdVJDyTw420OLIAlK+qzzbLXaR0jSH9zIJz9zu0iGS1iaqu9Co+6owYUrHJlBGrUZ/lZNCsDo=
on_build_success: false
on_build_failure: false
on_build_status_changed: true