Skip to content

Commit 07f6b46

Browse files
author
LimitSY
authored
Merge pull request frank-lam#2 from frank-lam/master
update
2 parents ce4dccf + 039f84d commit 07f6b46

File tree

214 files changed

+17597
-364
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

214 files changed

+17597
-364
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
sudo: required
2+
script: bash ./assets/deploy/deploy.sh
3+
branches:
4+
only:
5+
- master
6+
notifications:
7+
email: true

README.md

Lines changed: 127 additions & 82 deletions
Large diffs are not rendered by default.

assets/1537589029422.png

-36.7 KB
Binary file not shown.

assets/4yH8v1.png

-57.2 KB
Binary file not shown.

assets/deploy/deploy.sh

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#!/usr/bin/env sh
2+
3+
# 确保脚本抛出遇到的错误
4+
set -e
5+
6+
7+
rm gh-pages -rf; mkdir gh-pages; cp -r notes/* gh-pages/;
8+
cd gh-pages;
9+
10+
11+
# 将子目录的所有图片全部复制到文档根目录中,解决docsify图片索引不到的问题
12+
rm assets/ -rf
13+
mkdir assets
14+
15+
rm pics/ -rf
16+
mkdir pics
17+
18+
19+
for f in $(find ../notes/ -type f -print | grep assets)
20+
do
21+
cp $f ./assets
22+
done
23+
24+
for f in $(find ../notes/ -type f -print | grep pics)
25+
do
26+
cp $f ./pics
27+
done
28+
29+
# 进入生成的文件夹
30+
31+
#创建.nojekyll 防止Github Pages build错误
32+
touch .nojekyll
33+
34+
git init
35+
git add -A
36+
git commit -m 'deploy'
37+
38+
git push -f "https://${GH_TOKEN}@github.com/frank-lam/fullstack-tutorial.git" master:gh-pages
39+
40+
cd -
56.9 KB
Loading

assets/fullstack-tutorial-2019.png

220 KB
Loading

assets/fullstack-tutorial-logo.png

166 KB
Loading

assets/fullstack-tutorial-logo.svg

Lines changed: 2 additions & 0 deletions
Loading

assets/fullstack-tutorial-logo2.svg

Lines changed: 2 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)