-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Shlomi Assaf (shlassaf)
committed
Jun 14, 2016
1 parent
6f33627
commit 7e1f343
Showing
4 changed files
with
27 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,5 @@ | ||
originBranch=$(git symbolic-ref --short -q HEAD) | ||
|
||
npm run build | ||
git checkout gh-pages | ||
|
||
branch=$(git symbolic-ref --short -q HEAD) | ||
if [ "$branch" = "gh-pages" ]; then | ||
cp -R ./dist/build/* ./ | ||
git add . | ||
git commit -m "gh-pages update" | ||
git push origin gh-pages | ||
else | ||
echo Error: could not checkout gh-pages | ||
fi | ||
|
||
git checkout $originBranch | ||
rm ./dist/build/index.html | ||
cp -R ./src/index.ghpages.html ./dist/build/index.html | ||
gh-pages -d dist/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<base href="/angular2-modal/"> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="description" content="Angular2 modal example."> | ||
<title>Angular 2 Modal - Bootstrap style.</title> | ||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
|
||
|
||
<app> | ||
Loading, with SystemJS in dev mode, it might take a minute (or 2...) | ||
</app> | ||
|
||
<script src="system.config.js"></script> | ||
</body> | ||
</html> |