OSDN Git Service

fix: mkdir
authorIr1d <sirius.caffrey@gmail.com>
Tue, 21 Aug 2018 09:43:20 +0000 (17:43 +0800)
committerIr1d <sirius.caffrey@gmail.com>
Tue, 21 Aug 2018 09:43:20 +0000 (17:43 +0800)
deploy.sh

index 8358cd8..b628965 100644 (file)
--- a/deploy.sh
+++ b/deploy.sh
@@ -10,6 +10,7 @@ EMAIL=sirius.caffrey@gmail.com
 git remote add gh-token "https://${GH_TOKEN}@github.com/$ORG/$REPO.git";
 git fetch gh-token && git fetch gh-token gh-pages:gh-pages;
 
+mkdir site
 cp static/robots.txt site/robots.txt
 
 # Update git configuration so I can push.