File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ before_install:
5
5
after_success :
6
6
- script/tag_on_master
7
7
script : bundle exec rake book:build
8
+ env :
9
+ GITHUB_KEY :
10
+ secure : " l3XdupX6dT48IoTieJXrd7Yx8+KhiR2QYrNrDzT6RKxA7UyXGSP/axsVerg7OjKfIHWZgDJRVzcc2RswE+Xjw9sOY8r2h2q9uCwj8G0EqtFbtgGK0La5LB0euh0tNJN8GLFj1OdSZGY7dWWK88GXeHCua2WSify0V79R4ClIM+s="
11
+
8
12
deploy :
9
13
provider : releases
10
14
file :
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ PATCH=$(($LASTPATCH+1))
13
13
echo $PATCH
14
14
15
15
# Create a tag
16
- curl -H " Authorization: token ${api-key} " \
17
- -X " {\" ref\" : \" refs/tags/2.1.$PATCH \" , \" sha\" : \" $TRAVIS_COMMIT \" }" \
16
+ curl -H " Authorization: token $GITHUB_KEY " \
17
+ -X POST \
18
+ -d " ref=refs/tags/2.1.$PATCH &sha=$TRAVIS_COMMIT " \
18
19
https://api.github.com/repos/progit/progit2/git/refs
You can’t perform that action at this time.
0 commit comments