File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,11 +20,32 @@ Use ``deis config`` to modify environment variables for a deployed application.
2020 config:set set environment variables for an app
2121 config:unset unset environment variables for an app
2222 config:pull extract environment variables to .env
23+ config:push set environment variables from .env
2324
24- Use `deis help [command]` to learn more
25+ Use `deis help [command]` to learn more.
2526
2627 When config is changed, a new release is created and deployed automatically.
2728
29+ You can set multiple environment variables with one ``deis config:set `` command,
30+ or with ``deis config:push `` and a local .env file.
31+
32+ .. code-block :: console
33+
34+ $ deis config:set FOO=1 BAR=baz && deis config:pull
35+ $ cat .env
36+ FOO=1
37+ BAR=baz
38+ $ echo "TIDE=high" >> .env
39+ $ deis config:push
40+ Creating config... done, v4
41+
42+ === yuppie-earthman
43+ DEIS_APP: yuppie-earthman
44+ FOO: 1
45+ BAR: baz
46+ TIDE: high
47+
48+
2849 Attach to Backing Services
2950--------------------------
3051Deis treats backing services like databases, caches and queues as `attached resources `_.
You can’t perform that action at this time.
0 commit comments