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
246f8c81
Commit
246f8c81
authored
Jun 23, 2016
by
chriseth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Travis deployment to gh-pages.
parent
a5e43958
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
0 deletions
+35
-0
.travis.yml
.travis.yml
+8
-0
deploy_from_travis.sh
ci/deploy_from_travis.sh
+27
-0
travis_deploy.enc
ci/travis_deploy.enc
+0
-0
No files found.
.travis.yml
View file @
246f8c81
language
:
node_js
language
:
node_js
node_js
:
node_js
:
-
stable
-
stable
script
:
npm run test && npm run build
deploy
:
provider
:
script
script
:
ci/deploy_from_travis.sh
skip_cleanup
:
true
on
:
branch
:
master
ci/deploy_from_travis.sh
0 → 100755
View file @
246f8c81
#!/bin/bash
set
-e
SHA
=
`
git rev-parse
--verify
HEAD
`
git config user.name
"Travis CI"
git config user.email
"builds@ethereum.org"
git checkout
--orphan
gh-pages
git
rm
--cached
-r
.
echo
"# Automatic build"
>
README.md
echo
"Built website from {
$SHA
}. See https://github.com/ethereum/remix/ for details."
>>
README.md
# -f is needed because "build" is part of .gitignore
git add
-f
README.md index.html build/app.js
git commit
-m
"Built website from {
$SHA
}."
ENCRYPTION_LABEL
=
fade88419824
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
git@github.com:ethereum/remix.git gh-pages
ci/travis_deploy.enc
0 → 100644
View file @
246f8c81
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