You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
replicated channel ls --app my-app-slug --token e8d7ce8e3d3278a8b1255237e6310069
12
22
```
@@ -15,6 +25,70 @@ Set the following env vars to avoid passing them as arguments to each command.
15
25
* REPLICATED_APP_SLUG
16
26
* REPLICATED_API_TOKEN
17
27
28
+
Then the above command would be simply
29
+
```
30
+
replicated channel ls
31
+
```
32
+
33
+
### CI Example
34
+
Creating a new release for every tagged build is a common use of the replicated command.
35
+
36
+
Assume the app's yaml config is checked in at replicated.yaml and you have configured TravisCI or CircleCI with your REPLICATED_APP_SLUG and REPLICATED_API_TOKEN environment variables, as well as UNSTABLE_CHANNEL_ID```.
37
+
38
+
Then add a release.sh script to your project looking something like this:
39
+
40
+
```bash
41
+
#!/bin/bash
42
+
43
+
# Create a new release from replicated.yaml and promote the Unstable channel to use it.
0 commit comments