Commit ae4f1d8
Put commands on one line (#884)
Multi-lines aren't supported this way in YAML. See https://yaml-multiline.info/.
Furthermore, the following **isn't supported** in our YAML DSL:
```
deploy:
provider: script
script:
- command_1
- command_2
```
Commands must be **on one line**:
```
deploy:
provider: script
script: command_1 && command_2
```
Otherwise, the best suggestion would be to put your commands **in an external script**:
```
deploy:
provider: script
script: ./external-script.sh
```1 parent 21951e3 commit ae4f1d8
1 file changed
+2
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 36 | + | |
40 | 37 | | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
44 | 41 | | |
45 | 42 | | |
46 | 43 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 44 | + | |
53 | 45 | | |
54 | 46 | | |
55 | 47 | | |
| |||
0 commit comments