You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create GitHub token with name like "Token for Travis CI deployment" and select `public_repo` (or `repo`). Keep in mind that this token is a **private sensitive** data! See:
@@ -31,7 +33,7 @@ before_deploy:
31
33
deploy:
32
34
provider: releases
33
35
api_key:
34
-
- secure: "encrypted GITHUB OAUTH TOKEN"
36
+
- secure: "Encrypted GITHUB OAUTH TOKEN"
35
37
file_glob: true
36
38
file: "${FILE_TO_UPLOAD}"
37
39
skip_cleanup: true
@@ -52,9 +54,40 @@ os:
52
54
- osx
53
55
```
54
56
55
-
#### Deploy (Linux + OS X)
57
+
## AppVeyor
58
+
59
+
Create GitHub token with name like "Token for AppVeyor CI deployment" and select `public_repo` (or `repo`). Keep in mind that this token is a **private sensitive** data! See:
60
+
*[Creating an access token](https://help.github.com/articles/creating-an-access-token-for-command-line-use)
61
+
62
+
#### Encrypt token
63
+
64
+
Encrypt your token using form on [appveyor.com](https://ci.appveyor.com/tools/encrypt).
65
+
66
+
#### Add token
67
+
68
+
Copy `secure: "..."` string to `appveyor.yml`:
69
+
70
+
```
71
+
artifacts:
72
+
- path: _builds\*\Foo-*.tar.gz
73
+
name: Releases
74
+
75
+
deploy:
76
+
provider: GitHub
77
+
auth_token:
78
+
secure: "Encrypted GITHUB OAUTH TOKEN"
79
+
artifact: /Foo-.*\.tar.gz/
80
+
draft: false
81
+
prerelease: false
82
+
on:
83
+
appveyor_repo_tag: true
84
+
```
85
+
86
+
## Deploy
56
87
57
88
```bash
58
89
> git tag vA.B.C
59
90
> git push --tags
60
91
```
92
+
93
+
Travis will deploy artifacts from Linux and OS X, AppVeyor will deploy artifacts from Windows.
0 commit comments