Skip to content

Commit

Permalink
Restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
zzh8829 committed Apr 15, 2017
1 parent b651c16 commit aebd6ed
Show file tree
Hide file tree
Showing 50 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
public/
hugo/themes/*
!hugo/themes/cactus-plus-plus
themes/*
!themes/cactus-plus-plus
node_modules/
.DS_Store
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "cactus-plus"]
path = hugo/themes/cactus-plus-plus
path = themes/cactus-plus-plus
url = https://github.com/zzh8829/cactus-plus-plus.git
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ This deploy script contains 3 parts: Deployment, Service and Ingress. The deploy
```
kubectl apply -f deploy.yaml
```
Point your domain DNS to the master server and after a while you will be able to see our example working at https://hello.kube.zihao.ca YAY!
Point your domain DNS to the master server and after a while you will be able to see our example working at https://hello.kube.zihao.me YAY!
![Hello World](/images/kube-hello.png)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import BrowserSync from "browser-sync";

const browserSync = BrowserSync.create();
const webpackOptions = ["--progress", "--colors", "--display-error-details"]
const hugoOptions = ["--source", "hugo", "--destination", "../public", "-v"];
const hugoOptions = ["-v"];

// gulp.task("hugo", (cb) => runHugo(cb, ["--canonifyURLs"]));
gulp.task("hugo", (cb) => runHugo(cb));
Expand All @@ -22,7 +22,7 @@ gulp.task("watch", ["webpack:watch", "hugo:watch"], () => {
}
});
gulp.watch("./app/**/*", ["webpack:watch"]);
gulp.watch("./hugo/**/*", ["hugo:watch"]);
gulp.watch("./**/*", ["hugo:watch"]);
});

function runHugo(cb, options) {
Expand Down
Binary file removed hugo/static/images/kube-hello.png
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e
TMP=$(mktemp -d)
git clone [email protected]:zzh8829/zihao-pages.git $TMP
rm -rf $TMP/*
cp -r pages/. $TMP/
cp -r gitlab-pages/. $TMP/
mv public $TMP/
cd $TMP
git add .
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
Binary file added static/images/kube-hello.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit aebd6ed

Please sign in to comment.