Skip to content

Commit

Permalink
docs: add custom cli command action
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Apr 2, 2019
1 parent 56563f2 commit 4cf38f9
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ You can also use [the base image](base) in other Docker-based environments.

## Usage

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

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

### Custom command

By default, you have full access to the actual [Expo CLI](https://docs.expo.io/versions/latest/workflow/expo-cli).
That means that you should be able to use every function from the CLI in your actions.
Below you can see how a custom command can be defined.

```hcl
action "Doctor" {
uses = "bycedric/ci-expo@master"
args = "doctor"
}
```

## License

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

0 comments on commit 4cf38f9

Please sign in to comment.