Can't update my live site

So I wanted to change spelling errors and other thing on my live site so
I changed them on my local machine but I not sure on how to over write
though changes to dreamhost. I could do it manually though there FTP but
always doing that would take too long. so this is what I tried:

Make changes then “git push” and “cap deploy”
When I was finished I “cap deploy:restart” and my live website hasn’t
changed.

So I’m asking if you know either what I did wrong or what I forgot to
do?

I have

namespace :deploy do
task :restart do
run “touch #{current_path}/tmp/restart.txt”
end
end

in my deploy.rb

Corrected. cap deploy worked. it wasnt working for the past 2 days but
now it works all the sudden with no change.