We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e14a9f1 commit ab5b9bcCopy full SHA for ab5b9bc
deploy-site.sh
@@ -9,9 +9,7 @@ npm run generate-site
9
git fetch origin gh-pages
10
git checkout -B gh-pages origin/gh-pages
11
rm `git ls-files | grep -v '^\.gitignore$'`
12
-if [ ! -f ".gitignore" ]; then
13
- echo "node_modules" > .gitignore
14
-fi
+printf "node_modules\nsite-build\n" > .gitignore
15
cp -r site-build/* .
16
if [ "`git status --porcelain`" != "" ]; then \
17
(git add -A . && \
0 commit comments