Skip to content

Commit f88115c

Browse files
committed
ci: try to fix deploy in appveyor
1 parent 4e4b180 commit f88115c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

appveyor.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ install:
4646
- "%PYTHON%\\python.exe -m pip install wheel setuptools-rust"
4747
- "%PYTHON%\\python.exe -m pip install -r requirement-dev.txt"
4848

49+
cache:
50+
- target
51+
4952
build_script:
5053
- "%PYTHON%\\python.exe compile.py build"
5154
- ls build\lib\py_sourcemap
@@ -67,3 +70,15 @@ after_test:
6770
# 64-bit Python 3.3/3.4. And you need to use %PYTHON% to get the correct
6871
# interpreter
6972
- "ls build\\lib\\py_sourcemap"
73+
74+
deploy:
75+
provider: GitHub
76+
description: $(APPVEYOR_REPO_TAG_NAME)
77+
auth_token:
78+
secure: WOwBw2Tzivslwkbev6rJfhZfUbcfRvENwqQZfRZBL5R6L+Cb0y2tv5lyobrZiWPq
79+
artifact: ./build/lib/py_sourcemap/*.pyd
80+
draft: false
81+
prerelease: false
82+
on:
83+
branch: master # release from master branch only
84+
appveyor_repo_tag: true # deploy on tag push only

0 commit comments

Comments
 (0)