mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-12-18 00:42:11 +03:00
Add better explanation
This commit is contained in:
parent
4494a11f83
commit
798f6ccba8
@ -75,6 +75,13 @@ run_locally:
|
||||
- bash deploy.sh
|
||||
```
|
||||
|
||||
Note how we are even able to execute a bash script named `deploy.sh`
|
||||
above. Be sure to use `set -e` in your bash script to avoid
|
||||
headaches. Hapistrano will stop the execution on non zero exit
|
||||
codes. Without the usage of `set -e`, there is a possiblity that your
|
||||
bash script may return a zero exit code even if your intermediate
|
||||
command resulted in an error.
|
||||
|
||||
After creating a configuration file as above, deploying is as simple as:
|
||||
|
||||
```bash
|
||||
|
Loading…
Reference in New Issue
Block a user