Skip to content

Commit e46377c

Browse files
committed
Automate pkg building
1 parent 8211c33 commit e46377c

File tree

3 files changed

+2177
-9
lines changed

3 files changed

+2177
-9
lines changed

.travis.yml

+18-6
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,31 @@ before_install:
1313
install:
1414
- sudo apt-get install -y python-pip
1515
- sudo pip install codespell
16+
- npm install
1617

1718
script:
1819
- ./build-docs.sh
1920
- codespell -q4 *.md
21+
- npm run pkg
2022
# - docker run -ti --rm -v $PWD:/mnt:ro dkhamsing/awesome_bot --allow-dupe --allow-redirect --skip-save-results `find . -name "*.md"`
2123

2224
before_deploy:
2325
- rm docs/*.md
2426

2527
deploy:
26-
provider: pages
27-
local_dir: docs
28-
skip_cleanup: true
29-
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
30-
on:
31-
branch: master
28+
- provider: pages
29+
local_dir: docs
30+
skip_cleanup: true
31+
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
32+
on:
33+
branch: master
34+
- deploy:
35+
provider: releases
36+
api_key: $GITHUB_TOKEN
37+
file:
38+
- caou-linux
39+
- caou-macos
40+
- caou-win.exe
41+
skip_cleanup: true
42+
on:
43+
tags: true

0 commit comments

Comments
 (0)