From 97a55e6bca176fafa0f379c7f4b693615f498326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=A4=9A=E7=9B=8A?= Date: Wed, 20 Jan 2021 11:07:04 +0800 Subject: [PATCH] Update deploy-gh-pages.sh --- deploy-gh-pages.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deploy-gh-pages.sh b/deploy-gh-pages.sh index 1d44c5980..95d02f251 100755 --- a/deploy-gh-pages.sh +++ b/deploy-gh-pages.sh @@ -25,6 +25,9 @@ tar -zcvf sdk.tar.gz sdk mv sdk.tar.gz gh-pages/ +# 加这个 github page 就不会忽略下划线开头的文件 +touch gh-pages/.nojekyll + # 不走 cdn 了 # node ./scripts/upload2cdn.js $1 $2