Skip to content

Commit

Permalink
deploy.sh: call "nanoc deploy"
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Apr 7, 2013
1 parent 7dbb527 commit c5dfdcc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#!/bin/sh -e
nanoc compile
rsync -vauz --delete --chmod=ugo+rX output/ max@www.musicpd.org:/var/www/mpd/content/
nanoc deploy --target public
6 changes: 6 additions & 0 deletions nanoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,9 @@ watcher:
# When to send notifications (using Growl or notify-send).
notify_on_compilation_success: true
notify_on_compilation_failure: true

deploy:
public:
kind: rsync
dst: "max@www.musicpd.org:/var/www/mpd/content"
options: [ '-aP', '--delete-after', '--chmod=ugo+rX' ]

0 comments on commit c5dfdcc

Please sign in to comment.