Running shell script in Hazel

I blog using Octopress which creates static HTML from markdown files and then uploads the files to my web host.
In Terminal, I run
I then type
However, I cannot get it to run in Hazel.

I'm assuming I'm missing something simple or Hazel requires something different. Can anyone point me in the right direction? Thanks.
In Terminal, I run
- Code: Select all
cd /Users/doug/octopress
I then type
- Code: Select all
rake generate && rake deploy
However, I cannot get it to run in Hazel.

I'm assuming I'm missing something simple or Hazel requires something different. Can anyone point me in the right direction? Thanks.