-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
42 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules/ | ||
coverage/ | ||
tmp/ | ||
tmp/ | ||
docs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
# Decrypt the private key | ||
openssl aes-256-cbc -K $encrypted_a808e857cd51_key -iv $encrypted_a808e857cd51_iv -in .travis/ssh_key.enc -out ~/.ssh/id_rsa -d | ||
# Set the permission of the key | ||
chmod 600 ~/.ssh/id_rsa | ||
# Start SSH agent | ||
eval $(ssh-agent) | ||
# Add the private key to the system | ||
ssh-add ~/.ssh/id_rsa | ||
# Copy SSH config | ||
cp .travis/ssh_config ~/.ssh/config | ||
# Set Git config | ||
git config --global user.name "Tommy Chen" | ||
git config --global user.email tommy351@gmail.com | ||
# Clone the repository | ||
git clone git@github.com:tommy351/warehouse.git --branch gh-pages docs | ||
# Generate JSDoc | ||
npm run jsdoc | ||
# Push to GitHub | ||
cd docs && git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Host github.com | ||
User git | ||
StrictHostKeyChecking no | ||
IdentityFile ~/.ssh/id_rsa | ||
IdentitiesOnly yes |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters