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:
commit
9168947002
1 changed files with 2 additions and 2 deletions
|
@ -12,12 +12,12 @@ $ cd my-capistrano-enabled-project
|
||||||
$ cap production deploy
|
$ 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:
|
Tasks are simple to make. Here's an example:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
task :restart_sidekiq
|
task :restart_sidekiq do
|
||||||
on roles(:worker) do
|
on roles(:worker) do
|
||||||
execute :service, "sidekiq restart"
|
execute :service, "sidekiq restart"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue