diff --git a/scripts/deploy.sh b/scripts/deploy.sh old mode 100644 new mode 100755 index a86a8a7..0b4f855 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,5 +1,5 @@ #!/opt/local/bin/zsh -find . -type d -exec chmod 755 {} \; -find . -type f -exec chmod 644 {} \; +find . -type d -exec chmod a+rx {} \; +find . -type f -exec chmod a+r {} \; \rsync -avzp -e ssh ./_site/ jackknife:/home/justhsu/html/ diff --git a/site.hs b/site.hs index c1e9176..e2d907c 100644 --- a/site.hs +++ b/site.hs @@ -10,7 +10,7 @@ import Text.Regex config :: Configuration config = defaultConfiguration - { deployCommand = "./scripts/deploy" } + { deployCommand = "echo `pwd`; ./scripts/deploy.sh" } -------------------------------------------------------------------------------- bibHeaders :: [(String, String, [String])]