Skip to content

Commit

Permalink
Publishing to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Robdel12 committed May 13, 2015
1 parent 0558535 commit fd5390c
Show file tree
Hide file tree
Showing 9 changed files with 87 additions and 28 deletions.
1 change: 1 addition & 0 deletions assets/dummy-9be94d0bb058679fdfcea4d75fb7dfae.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/dummy-de3c495d5da3bffcdc865aaa60f76ab3.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
body,html{margin:20px}
28 changes: 28 additions & 0 deletions assets/vendor-5c61d5f27ff9431006c6f399607cfccb.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/vendor-91de9ba975bf863f6b9922ebe2a987ad.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions crossdomain.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<!-- Read this: www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html -->

<!-- Most restrictive policy: -->
<site-control permitted-cross-domain-policies="none"/>

<!-- Least restrictive policy: -->
<!--
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" to-ports="*" secure="false"/>
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
-->
</cross-domain-policy>
28 changes: 0 additions & 28 deletions dist/index.html

This file was deleted.

12 changes: 12 additions & 0 deletions gh-pages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
git checkout gh-pages
ember build --environment production
#!git rm -rf app addon config tests
#!git rm -rf Brocfile.js bower.json package.json testem.json
#!git rm -rf .bowerrc .editorconfig .jshintrc .travis.yml
mv dist/* .
rm -rf dist
git add .
git commit -m "Publishing to github pages"
git push origin gh-pages
git checkout master
27 changes: 27 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Dummy</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">

<base href="/ember-c3/" />
<meta name="dummy/config/environment" content="%7B%22modulePrefix%22%3A%22dummy%22%2C%22environment%22%3A%22production%22%2C%22baseURL%22%3A%22/ember-c3%22%2C%22locationType%22%3A%22auto%22%2C%22EmberENV%22%3A%7B%22FEATURES%22%3A%7B%7D%7D%2C%22APP%22%3A%7B%22name%22%3A%22ember-c3%22%2C%22version%22%3A%220.0.1.05585350%22%7D%2C%22exportApplicationGlobal%22%3Afalse%7D" />
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="assets/vendor-91de9ba975bf863f6b9922ebe2a987ad.css">
<link rel="stylesheet" href="assets/dummy-de3c495d5da3bffcdc865aaa60f76ab3.css">


</head>
<body>


<script src="assets/vendor-5c61d5f27ff9431006c6f399607cfccb.js"></script>
<script src="assets/dummy-9be94d0bb058679fdfcea4d75fb7dfae.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>


</body>
</html>
2 changes: 2 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# http://www.robotstxt.org
User-agent: *

0 comments on commit fd5390c

Please sign in to comment.