Skip to content

Commit 55879f9

Browse files
committed
Replace bash with
1 parent cf359ab commit 55879f9

File tree

9 files changed

+27
-27
lines changed

9 files changed

+27
-27
lines changed

docs/UPGRADE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
8. Rename task `success` to `deploy:success`.
5757
9. Verbosity function (`isDebug()`, etc) deleted. Use `output()->isDebug()` instead.
5858
10. runLocally() commands are executed relative to the recipe file directory. This behaviour can be overridden via an environment variable:
59-
```bash
59+
```
6060
DEPLOYER_ROOT=. vendor/bin/dep taskname`
6161
```
6262
11. Replace `local()` tasks with combination of `once()` and `runLocally()` func.

docs/basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ and executes the task on all specified hosts.
2323
The `dep` CLI looks for `deploy.php` or `deploy.yaml` file in current directory.
2424

2525
Or recipe can be specified explicitly via `-f` or `--file` option.
26-
```bash
26+
```
2727
$ dep --file=deploy.php deploy deployer.org
2828
```
2929
:::

docs/cli.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ After [installation](installation.md) of Deployer you will have the ability to r
55
To get list of all available tasks run the `dep` command. You can run it from any subdirectories of you project;
66
Deployer will automatically find project root dir.
77

8-
```bash
8+
```
99
Deployer
1010
1111
Usage:
@@ -32,15 +32,15 @@ Available commands:
3232

3333
The best way to configure your `deploy.php` is to automatically deploy to staging on this command:
3434

35-
```bash
35+
```
3636
dep deploy
3737
```
3838

3939
This is so somebody can't accidentally deploy to production (for production deployment, the `dep deploy production` command explicitly lists the required production stage).
4040

4141
You need info about available options and usage use the `help` command:
4242

43-
```bash
43+
```
4444
$ dep help deploy
4545
Usage:
4646
deploy [options] [--] [<stage>]
@@ -82,21 +82,21 @@ set('ssh_multiplexing', false);
8282

8383
And you want to enable [ssh multiplexing](https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Multiplexing) without modifying the file, you can pass the `-o` option to the `dep` command:
8484

85-
```bash
85+
```
8686
dep deploy -o ssh_multiplexing=true
8787
```
8888

8989
To override multiple config options, you can pass multiple `-o` args:
9090

91-
```bash
91+
```
9292
dep deploy -o ssh_multiplexing=true -o branch=master
9393
```
9494

9595
### Running arbitrary commands
9696

9797
Deployer comes with a command to run any valid command on you server without modifying _deploy.php_
9898

99-
```bash
99+
```
100100
dep run 'ls -la'
101101
```
102102

@@ -112,7 +112,7 @@ To specify the hosts this command has the corresponding options:
112112

113113
You can get more info about any commands by using the help command:
114114

115-
```bash
115+
```
116116
dep help [command]
117117
```
118118

@@ -121,7 +121,7 @@ dep help [command]
121121
Deployer comes with an autocomplete script for bash/zsh/fish, so you don't need to remember all the tasks and options.
122122
To install it run following command:
123123

124-
```bash
124+
```
125125
dep autocomplete
126126
```
127127

@@ -130,7 +130,7 @@ And follow instructions.
130130
### Local root directory
131131

132132
By default `runLocally()` commands are executed relative to the recipe file directory. This can be overridden globally by setting an environment variable:
133-
```bash
133+
```
134134
DEPLOYER_ROOT=. dep taskname`
135135
```
136136

docs/getting-started.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ First, [install the Deployer](installation.md).
1111

1212
Let's `cd` into our app repo and run following command:
1313

14-
```bash
14+
```
1515
dep init
1616
```
1717

@@ -37,13 +37,13 @@ server using domain name instead of IP address.
3737
:::
3838

3939
After VPS created, let's try to ssh as root:
40-
```bash
40+
```
4141
4242
```
4343

4444
Now let's provision our server.
4545

46-
```bash
46+
```
4747
dep provision -o remote_user=root
4848
```
4949

@@ -65,13 +65,13 @@ app.
6565
## Configure a deployment
6666

6767
Let's deploy our application:
68-
```bash
68+
```
6969
dep deploy
7070
```
7171

7272
Now we can ssh to host and edit, for example, `.env`.
7373

74-
```bash
74+
```
7575
dep ssh
7676
```
7777

@@ -87,7 +87,7 @@ after('deploy:update_code', 'build');
8787
```
8888

8989
Also, Deployer has a useful task for examine what is currently deployed.
90-
```bash
90+
```
9191
$ dep releases
9292
task releases
9393
+---------------------+--------- deployer.org -------+--------+-----------+

docs/hosts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ task('test', function () {
1919
});
2020
```
2121

22-
```bash
22+
```
2323
$ dep test
2424
[example.org] The example.org is example.org
2525
```
@@ -34,7 +34,7 @@ host('example.org')
3434
Now new hostname will be used for ssh connect, and host will be referred in
3535
Deployer via the alias.
3636

37-
```bash
37+
```
3838
$ dep test
3939
[example.org] The example.org is example.cloud.google.com
4040
```

docs/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Deployer comes with an autocomplete support for task names, options, and hosts.
1515

1616
Add next line to your `~/.bashrc` or `~/.zshrc`:
1717

18-
```bash
18+
```
1919
eval "$(dep autocomplete --shell bash)"
2020
```
2121
:::
@@ -31,7 +31,7 @@ If you call a globally installed Deployer via `/usr/local/bin/dep` in a project
3131
directory with a locally installed Deployer at `vendor/bin/dep`, Deployer will
3232
redirect call to a local Deployer.
3333

34-
```bash
34+
```
3535
~/project $ dep --version
3636
Using ~/project/vendor/bin/dep
3737
Deployer 7.0.0

docs/recipe/deploy/rollback.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ If rollback candidate marked as **BAD_RELEASE**, it will be skipped.
1818

1919
:::tip
2020
You can override rollback candidate via:
21-
```bash
21+
```
2222
dep rollback -o rollback_candidate=123
2323
```
2424
:::
@@ -38,7 +38,7 @@ bad by creating file **BAD_RELEASE** with timestamp and [user](/docs/recipe/comm
3838

3939
:::warning
4040
You can always manually symlink [current_path](/docs/recipe/common.md#current_path) to proper release.
41-
```bash
41+
```
4242
dep run '{{bin/symlink}} releases/123 {{current_path}}'
4343
```
4444
:::

recipe/deploy/rollback.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
* :::tip
1313
* You can override rollback candidate via:
14-
* ```bash
14+
* ```
1515
* dep rollback -o rollback_candidate=123
1616
* ```
1717
* :::
@@ -54,7 +54,7 @@
5454
*
5555
* :::warning
5656
* You can always manually symlink {{current_path}} to proper release.
57-
* ```bash
57+
* ```
5858
* dep run '{{bin/symlink}} releases/123 {{current_path}}'
5959
* ```
6060
* :::

tests/docker/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Note: E2E tests will only run in an environment where env variable `E2E_ENV` has
2828

2929
The container can be accessed by running:
3030

31-
```bash
31+
```
3232
docker-compose run deployer sh
3333
```
3434

@@ -47,7 +47,7 @@ The `deployer` container contains:
4747

4848
It is possible to access the `server` container via ssh by running:
4949

50-
```bash
50+
```
5151
ssh deployer@server
5252
```
5353

0 commit comments

Comments
 (0)