Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyodide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
pyodide
Commits
0b4e3cf3
Commit
0b4e3cf3
authored
Jun 19, 2018
by
Michael Droettboom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First pass at automatic deployment
parent
178f860b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
.circleci/config.yml
.circleci/config.yml
+21
-0
.circleci/deploy.sh
.circleci/deploy.sh
+13
-0
No files found.
.circleci/config.yml
View file @
0b4e3cf3
...
...
@@ -63,3 +63,24 @@ jobs:
command
:
|
export PATH=$PWD/firefox:$PATH
make test
deploy
:
machine
:
enabled
:
true
steps
:
-
run
:
name
:
Deploy to Github Pages
command
:
|
.circleci/deploy.sh
workflows
:
version
:
2
build-and-deploy
:
jobs
:
-
build
-
deploy
:
requires
:
-
build
filters
:
branches
:
only
:
master
.circleci/deploy.sh
0 → 100755
View file @
0b4e3cf3
#!/bin/bash
set
-x
-e
git clone git@github.com:iodide-project/pyodide-demo
cp
build/
*
pyodide-demo
cd
pyodide-demo
git checkout
--orphan
tmp
git add
*
git config
--global
user.email
"deploybot@nowhere.com"
git config
--global
user.name
"Deploybot"
git commit
-m
"Deployed from Circle-CI
$CIRCLE_BUILD_NUM
"
git checkout master
git reset
--hard
tmp
git push origin
-f
master
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