Fix deploy problems.

This commit is contained in:
Justin Hsu 2015-01-04 23:50:50 -08:00
parent 97d1fce474
commit 913996c8f5
2 changed files with 3 additions and 3 deletions

4
scripts/deploy.sh Normal file → Executable file
View File

@ -1,5 +1,5 @@
#!/opt/local/bin/zsh #!/opt/local/bin/zsh
find . -type d -exec chmod 755 {} \; find . -type d -exec chmod a+rx {} \;
find . -type f -exec chmod 644 {} \; find . -type f -exec chmod a+r {} \;
\rsync -avzp -e ssh ./_site/ jackknife:/home/justhsu/html/ \rsync -avzp -e ssh ./_site/ jackknife:/home/justhsu/html/

View File

@ -10,7 +10,7 @@ import Text.Regex
config :: Configuration config :: Configuration
config = defaultConfiguration config = defaultConfiguration
{ deployCommand = "./scripts/deploy" } { deployCommand = "echo `pwd`; ./scripts/deploy.sh" }
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
bibHeaders :: [(String, String, [String])] bibHeaders :: [(String, String, [String])]