1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Merge pull request #1560 from mattbrictson/readme-typos

Fix a couple README typos
This commit is contained in:
Lee Hambley 2016-01-17 22:20:21 +01:00
commit 9168947002

View file

@ -12,12 +12,12 @@ $ cd my-capistrano-enabled-project
$ cap production deploy
```
When you run `cap`, Capistrano dutifully connects to your server(s) via SSH and executes the steps necessary to deploy your project. You can define those steps yourself by writing [Rake](https://github.com/ruby/rake) tasks , or by using pre-built task libraries provided by the Capistrano community.
When you run `cap`, Capistrano dutifully connects to your server(s) via SSH and executes the steps necessary to deploy your project. You can define those steps yourself by writing [Rake](https://github.com/ruby/rake) tasks, or by using pre-built task libraries provided by the Capistrano community.
Tasks are simple to make. Here's an example:
```ruby
task :restart_sidekiq
task :restart_sidekiq do
on roles(:worker) do
execute :service, "sidekiq restart"
end