forked from Kyusung4698/PoE-Overlay
-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathappveyor.yml
41 lines (41 loc) · 1.12 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
version: 1.0.{build}
image:
- Visual Studio 2017
platform:
- x64
environment:
NODE_OPTIONS: --max-old-space-size=7168
NODE_ENV: development
branches:
only:
- master
only_commits:
message: /Bumped version to v/
cache:
- node_modules
- '%USERPROFILE%\.electron'
init:
- git config --global core.autocrlf input
install:
- echo "* Running Install..."
- ps: Install-Product node 12 x64
- npm -v
- npm install
- npm run electron:rebuild
build_script:
- echo "* Running Build..."
- node_modules/.bin/tsc -p tsconfig.serve.json
- node_modules/.bin/ng build -c production
- node_modules/.bin/electron-builder build --windows --publish never
- ps: Compress-Archive -Path release -DestinationPath publish.zip
artifacts:
- path: 'release\*.*'
- path: 'publish.zip'
test: off
deploy:
- provider: Webhook
url: https://app.signpath.io/API/v1/d55b7cc8-7e88-44a5-b2ba-5714c7454670/Integrations/AppVeyor?ProjectSlug=PoE-Overlay-Community-Fork&SigningPolicySlug=release-signing
authorization:
secure: RK6v3+1p1/SHMUeoEUevbNeO9NZ9pdwrZeH2kCvz35AmUxqp278eKGkcqYknAMYLog8Nd/2OzdFobuRo3d/GnA==
on:
branch: master