forked from nodeschool/spb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
23 lines (23 loc) · 703 Bytes
/
.travis.yml
File metadata and controls
23 lines (23 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: node_js
node_js:
- "stable"
before_install:
- export AUTHOR_NAME="$(git log -1 --no-merges --pretty="%aN")"
- export COMMIT_MESSAGE="$(git log -1 --no-merges --pretty="%B")"
- export COMMIT_DATE="$(git log -1 --no-merges --pretty="%aD")"
- openssl aes-256-cbc -K $encrypted_8b34ab5bd7eb_key -iv $encrypted_8b34ab5bd7eb_iv
-in publish-key.enc -out ~/.ssh/publish-key -d
- chmod u=rw,og= ~/.ssh/publish-key
- echo "Host github.com" >> ~/.ssh/config
- echo " IdentityFile ~/.ssh/publish-key" >> ~/.ssh/config
- git --version
install:
- npm install --no-optional
script:
- npm run build
after_success:
- chmod a+x deploy-to-gh-pages.sh
- npm run deploy
branches:
only:
- master