Skip to content

Commit 4cf38f9

Browse files
committed
docs: add custom cli command action
1 parent 56563f2 commit 4cf38f9

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ You can also use [the base image](base) in other Docker-based environments.
88

99
## Usage
1010

11-
By default, you have full access to the actual [Expo CLI](https://docs.expo.io/versions/latest/workflow/expo-cli).
12-
That means that you should be able to use every function from the CLI in your actions.
1311
Below you can see an example workflow to get you started right away!
1412

1513
> Check out both [login](./login) and [publish](./publish) actions for more info.
@@ -37,6 +35,19 @@ action "Publish" {
3735
}
3836
```
3937

38+
### Custom command
39+
40+
By default, you have full access to the actual [Expo CLI](https://docs.expo.io/versions/latest/workflow/expo-cli).
41+
That means that you should be able to use every function from the CLI in your actions.
42+
Below you can see how a custom command can be defined.
43+
44+
```hcl
45+
action "Doctor" {
46+
uses = "bycedric/ci-expo@master"
47+
args = "doctor"
48+
}
49+
```
50+
4051
## License
4152

4253
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

0 commit comments

Comments
 (0)