Skip to content

Commit

Permalink
added netlify build hook
Browse files Browse the repository at this point in the history
  • Loading branch information
fzumstein committed Jun 16, 2018
1 parent bdfddcf commit b3d25e0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
skip_branch_with_pr: true

environment:
NETLIFY_BUILD_HOOK:
secure: B+WxLXotvuRzEvMtuTWijhs3s+jvnGifsmNIMEf7ll0=

version: '{build}'
init:
# Set "build version number" to "short-commit-hash" or when tagged to "tag name" (Travis style)
Expand All @@ -20,6 +24,7 @@ install:
- secure-file\tools\secure-file -decrypt scripts\windows\key.p12.enc -secret %secure%
- C:\Python36\Scripts\pip install -r requirements.txt
- C:\Python36-x64\Scripts\pip install -r requirements.txt
- choco install curl

build_script:
- C:\Python36\python .\scripts\windows\update-version-info.py
Expand Down Expand Up @@ -51,6 +56,9 @@ test_script:
- C:\Python36-x64\python -m unittest discover src -vv


on_success:
- ps: if ($env:APPVEYOR_REPO_TAG -eq $TRUE) { curl -X POST -d '' https://api.netlify.com/build_hooks/$env:NETLIFY_BUILD_HOOK }

artifacts:
- path: git-xltrail-windows-*.exe
- path: git-xltrail-x86.exe
Expand Down

0 comments on commit b3d25e0

Please sign in to comment.