Skip to content

Commit d804045

Browse files
authored
CodePush authentication (#3464)
1 parent febfc8e commit d804045

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

content/rn-codepush/setup.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,16 @@ This command prints the installed CLI version. If the installation was successfu
4242

4343
The CodePush CLI authenticates using access keys provided by Codemagic. Read more about how to obtain the access key [here](./security-and-access/#obtaining-the-access-key).
4444

45-
To log in from the CLI:
45+
To log in from the CLI, you can either provide the access token during the login process:
4646

4747
{{< highlight bash "style=paraiso-dark">}}
48-
code-push login "https://codepush.pro/" --access-key $ACCESS_TOKEN
48+
code-push login --access-key $ACCESS_TOKEN
49+
{{< /highlight >}}
50+
51+
Alternatively, you can attach it when prompted by the following command:
52+
53+
{{< highlight bash "style=paraiso-dark">}}
54+
code-push login
4955
{{< /highlight >}}
5056

5157
This command authenticates the CLI directly using the provided access token. Once authenticated, the CLI can create apps, manage deployments, and publish updates.

0 commit comments

Comments
 (0)