Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
847398d7
Commit
847398d7
authored
May 18, 2016
by
chriseth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Travis deployment scripts.
parent
1d404ea0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
0 deletions
+44
-0
.npmignore
.npmignore
+2
-0
.travis.yml
.travis.yml
+17
-0
deploy_from_travis.sh
ci/deploy_from_travis.sh
+25
-0
deploy_key.enc
ci/deploy_key.enc
+0
-0
No files found.
.npmignore
View file @
847398d7
...
...
@@ -3,3 +3,5 @@ index.html
soljson.js
bin/list.*
bin/soljson-v*
.travis.yml
deployment/*
.travis.yml
0 → 100644
View file @
847398d7
language
:
node_js
node_js
:
-
stable
deploy
:
provider
:
script
script
:
ci/deploy_from_travis.sh
skip_cleanup
:
true
on
:
branch
:
master
env
:
global
:
-
ENCRYPTION_LABEL
:
"
b5c2730599da"
-
COMMIT_AUTHOR_EMAIL
:
"
chris@ethereum.org"
-
COMMIT_AUTHOR
:
"
Travis
CI"
-
FILES_TO_PACKAGE
:
"
assets
background.js
build
icon.png
index.html
manifest.json
worker.js"
ci/deploy_from_travis.sh
0 → 100755
View file @
847398d7
#!/bin/sh
set
-e
REPO
=
`
git config remote.origin.url
`
SSH_REPO
=
${
REPO
/https
:
\/\/github.com\//git@github.com
:
}
SHA
=
`
git rev-parse
--verify
HEAD
`
git config user.name
"
$COMMIT_AUTHOR
"
git config user.email
"
$COMMIT_AUTHOR_EMAIL
"
git checkout
--orphan
gh-pages
git
rm
--cached
-r
.
git add
$FILES_TO_PACKAGE
git commit
-m
"Built website from {
$SHA
}."
ENCRYPTED_KEY_VAR
=
"encrypted_
${
ENCRYPTION_LABEL
}
_key"
ENCRYPTED_IV_VAR
=
"encrypted_
${
ENCRYPTION_LABEL
}
_iv"
ENCRYPTED_KEY
=
${
!ENCRYPTED_KEY_VAR
}
ENCRYPTED_IV
=
${
!ENCRYPTED_IV_VAR
}
openssl aes-256-cbc
-K
$ENCRYPTED_KEY
-iv
$ENCRYPTED_IV
-in
ci/deploy_key.enc
-out
deploy_key
-d
chmod
600 deploy_key
eval
`
ssh-agent
-s
`
ssh-add deploy_key
git push
-f
"
${
SSH_REPO
}
"
gh-pages
ci/deploy_key.enc
0 → 100644
View file @
847398d7
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment