Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit d13ac8b

Browse files
committed
fix: better windows deploy stage
1 parent e388241 commit d13ac8b

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

appveyor.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,18 @@
44

55
test: off
66

7-
artifacts:
8-
- path: out/ngx-ssb-client.exe
9-
name: Application
10-
117
build_script:
128
ps: |
139
npm --silent install
14-
npm run --silent electron:windows
15-
10+
npm run build:prod
1611
17-
deploy:
18-
description: 'Release description'
19-
provider: GitHub
20-
auth_token:
12+
environment:
13+
GITHUB_TOKEN:
2114
secure: c2eb22TX3Np2x1UhLnGp4IYhrf+QNzemudTOxzhoyyT6iT3Rp1lh0BHFBUlpl2Ji
22-
artifact: out/ngx-ssb-client.exe
23-
draft: true
24-
on:
25-
appveyor_repo_tag: true # deploy on tag push only
15+
16+
deploy_script:
17+
- ps: >-
18+
Write-Host $env:APPVEYOR_REPO_TAG ;
19+
if($env:APPVEYOR_REPO_TAG -eq 'true') {
20+
npm run --silent electron:windows
21+
}

0 commit comments

Comments
 (0)