Skip to content

Commit

Permalink
publish demo
Browse files Browse the repository at this point in the history
  • Loading branch information
givanse committed Sep 5, 2015
1 parent 14f0fcf commit 63e9c2e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ like this:

```
{{#twitter-feed}}
<!-- paste snippet here -->
<!-- paste only the HTML line here -->
{{/twitter-feed}}
```

Demo: http://aethermx.github.io/ember-cli-twitter-feed/

## Development

### Installation
Expand Down
21 changes: 21 additions & 0 deletions deploy-gh-pages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

set -e

addonName='ember-cli-twitter-feed'

ember build --environment='production'

cd '../'$addonName'-gh-pages/'

rm -rvf assets

cp -Rv '../'$addonName'/dist/'* .

git add -A .

git commit -m 'update'

git push -u origin gh-pages

exit
2 changes: 1 addition & 1 deletion tests/dummy/config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = function(environment) {
}

if (environment === 'production') {

ENV.baseURL = '/ember-cli-twitter-feed/';
}

ENV.contentSecurityPolicy = {
Expand Down

0 comments on commit 63e9c2e

Please sign in to comment.