forked from adventuregamestudio/ags-manual
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
37 lines (30 loc) · 908 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
version: chm-{build}
environment:
matrix:
- CHECKOUTDIR: '%TEMP%\ags-manual.wiki'
HHC: '%PROGRAMFILES(X86)%\HTML Help Workshop\hhc.exe'
PANDOCVERSION: 2.7.2
branches:
except:
- gh-pages
install:
- cinst pandoc --version %PANDOCVERSION%
- cinst html-help-workshop make
before_build:
- '%COMSPEC% /c "cd %TEMP% && git clone https://github.com/adventuregamestudio/ags-manual.wiki.git"'
build_script:
- make SHELL=%COMSPEC% source
- make SHELL=%COMSPEC% -j %NUMBER_OF_PROCESSORS% htmlhelp
artifacts:
- path: htmlhelp\build\ags-help.chm
name: ags-help.chm
deploy:
- provider: GitHub
auth_token:
secure: RE/XSZF5WYBi1os9XeUernSQ7znWyIeCUu5m8rzCR/Ocyhmcjoa4N2101UXxtRPr
artifact: ags-help.chm
draft: false
prerelease: false
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only