forked from TobiX/jenkins-neo2-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatic build & deploy from Travis-CI
- Loading branch information
Showing
6 changed files
with
35 additions
and
44 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
|
||
set -ue | ||
|
||
cd "$(dirname "$0")" | ||
P=../pages | ||
|
||
cp deploy_key ~/.ssh/id_rsa | ||
chmod 600 ~/.ssh/id_rsa | ||
|
||
[ -d $P ] && rm -Rfv $P | ||
git clone --depth=10 --branch=gh-pages [email protected]:TobiX/jenkins-neo2-theme.git $P | ||
|
||
rsync -r --del --verbose ../dist/* $P/dist/ | ||
|
||
cd $P | ||
|
||
git config user.email '[email protected]' | ||
git config user.name 'Travis-CI Website Bot' | ||
git config push.default simple | ||
|
||
git add -A . | ||
git commit -a -m "Update website from commit $TRAVIS_COMMIT" | ||
git push origin HEAD:gh-pages |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGmt3uJojggubNcFMpmpOyRPSZD+BWGiw0z1B3KBsAlxHEAFa1/+cGsL0Zt1BJDZX9F6fPzUNrMwVvYpuKRtA7X+m596Kk+Cc1YqyU4//zCK+XTidYVzKmIGH3Est09U/nX5HynK2YeJzR2lSQZzDE6FYOZVZEQg/Qg+B/6OcRunoRFclcqQHkHWtoZ1ir9ADFLe5tfEf0lMpu0WzzopQDwu2wu8poZwHoKXPh7xFteH1R+Y8qxZ+JT9hb+YFxNenM7CGUQsTin6IapqyKrJsI1oma2fzxd4VCDlilJS1TYpjfFrpMEoXdj6Y1ef56AT37fM2Vy1RAEZyHFETKANR9 jenknis-neo2-theme-autodeploy |
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,10 @@ | ||
language: node_js | ||
node_js: | ||
- 6 | ||
before_script: | ||
- npm install grunt-cli -g | ||
after_success: | ||
- if [ -e .github/deploy_key ]; then .github/deploy.sh; fi | ||
before_install: | ||
- openssl aes-256-cbc -K $encrypted_815954d41479_key -iv $encrypted_815954d41479_iv | ||
-in .github/deploy_key.enc -out .github/deploy_key -d |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.