-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
30 lines (29 loc) · 1.09 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html class="fouc_bg">
<head>
<title>Github pages test with Gulp</title>
<meta charset="utf-8">
</head>
<body class="fouc_hide">
<h1>Github pages test with Gulp</h1>
<p>
OK, I have a project folder, with /src and /public.
</p>
<p>
The project folder has a git repo and a /src folder. It also has a /public folder that has its own git repo. The project folder's .gitignore includes /public. So the project folder will have a different github repo than the actual github pages.
</p>
<p>
So I can work on the /src code, send it through Gulp to transpile and minify and put in /public, then commit and push it to the "src" repo, then commit and push the /public to my github pages separately.
</p>
<p>
The editor only needs the project folder. But I'll need 2 terminals, one for each repo.
</p>
<p>
'gh-pages' is cool, but that won't work for this as far as I can tell.
</p>
<p>
I was originally doing this with Webpack, but was running into FOUC problems. Doing it without the Webpack bundling
and using Gulp to run tasks works better for this.
</p>
</body>
</html>