Skip to content

Commit c1f3619

Browse files
Fixing deploy (#1412)
* Remove html from repo * Ignore html * Leaning on travis for deploy. Moving to gh-pages.
1 parent bf8f037 commit c1f3619

File tree

7 files changed

+11
-23686
lines changed

7 files changed

+11
-23686
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
node_modules
2-
.tern-port
2+
.tern-port
3+
docs/index.html
4+
docs/v1/index.html

.travis.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
language: generic
2-
python:
3-
- '2.7'
42
script:
5-
- bash "./deploy.sh"
6-
env:
7-
global:
8-
- ENCRYPTION_LABEL: "8bb8090ad69a"
9-
- COMMIT_AUTHOR_EMAIL: "[email protected]"
3+
- bash "./compile.sh"
4+
deploy:
5+
local_dir: docs
6+
provider: pages
7+
skip_cleanup: true
8+
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
9+
on:
10+
branch: master

compile.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,3 @@ curlbikeshed() {
2626
}
2727

2828
cd docs && curlbikeshed "index.html"
29-
30-
if [ -d out ]; then
31-
echo Copy the generated spec into out/index.html
32-
cp index.html out/index.html
33-
fi

deploy.sh

Lines changed: 0 additions & 61 deletions
This file was deleted.

deploy_key.enc

-3.17 KB
Binary file not shown.

0 commit comments

Comments
 (0)