diff --git a/README.md b/README.md index bbfb80af..daeb5638 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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.