Skip to content

Commit

Permalink
Fixing deploy (w3c#1412)
Browse files Browse the repository at this point in the history
* Remove html from repo

* Ignore html

* Leaning on travis for deploy. Moving to gh-pages.
  • Loading branch information
jakearchibald authored Jun 3, 2019
1 parent bf8f037 commit c1f3619
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 23,686 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules
.tern-port
.tern-port
docs/index.html
docs/v1/index.html
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
language: generic
python:
- '2.7'
script:
- bash "./deploy.sh"
env:
global:
- ENCRYPTION_LABEL: "8bb8090ad69a"
- COMMIT_AUTHOR_EMAIL: "[email protected]"
- bash "./compile.sh"
deploy:
local_dir: docs
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
on:
branch: master
5 changes: 0 additions & 5 deletions compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,3 @@ curlbikeshed() {
}

cd docs && curlbikeshed "index.html"

if [ -d out ]; then
echo Copy the generated spec into out/index.html
cp index.html out/index.html
fi
61 changes: 0 additions & 61 deletions deploy.sh

This file was deleted.

Binary file removed deploy_key.enc
Binary file not shown.
Loading

0 comments on commit c1f3619

Please sign in to comment.