mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-12 21:52:56 +00:00
Update .resin-sync.yml docs for local push and include example env vars
Change-type: patch Signed-off-by: Tim Perry <tim@resin.io>
This commit is contained in:
parent
d8aaccf80c
commit
e32eda26d9
@ -1431,12 +1431,14 @@ also change any option by editing '.resin-sync.yml' directly.
|
||||
Here is an example '.resin-sync.yml' :
|
||||
|
||||
$ cat $PWD/.resin-sync.yml
|
||||
destination: '/usr/src/app'
|
||||
before: 'echo Hello'
|
||||
after: 'echo Done'
|
||||
ignore:
|
||||
- .git
|
||||
- node_modules/
|
||||
local_resinos:
|
||||
app-name: local-app
|
||||
build-triggers:
|
||||
- Dockerfile: abcdefabcdefabcdefabcdefabcdefabcdefabcdef
|
||||
- package.json: abcdefabcdefabcdefabcdefabcdefabcdefabcdef
|
||||
environment:
|
||||
- MY_VARIABLE=123
|
||||
|
||||
|
||||
Command line options have precedence over the ones saved in '.resin-sync.yml'.
|
||||
|
||||
|
@ -43,12 +43,14 @@ resinPushHelp = '''
|
||||
Here is an example '.resin-sync.yml' :
|
||||
|
||||
$ cat $PWD/.resin-sync.yml
|
||||
destination: '/usr/src/app'
|
||||
before: 'echo Hello'
|
||||
after: 'echo Done'
|
||||
ignore:
|
||||
- .git
|
||||
- node_modules/
|
||||
local_resinos:
|
||||
app-name: local-app
|
||||
build-triggers:
|
||||
- Dockerfile: abcdefabcdefabcdefabcdefabcdefabcdefabcdef
|
||||
- package.json: abcdefabcdefabcdefabcdefabcdefabcdefabcdef
|
||||
environment:
|
||||
- MY_VARIABLE=123
|
||||
|
||||
|
||||
Command line options have precedence over the ones saved in '.resin-sync.yml'.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user