-
Notifications
You must be signed in to change notification settings - Fork 0
project update env
Mohamed Hassan edited this page Aug 28, 2024
·
3 revisions
Appvey project update env [...] [options]
<env> environment var in the form name:value. If it's encrypted, it's in the form name:value:true
-
-s, --slug Project slug [required]
-
-j, --json File name that contain environment json string. Only Env arguments or Json option is allowed
# Assume auto login
# using json file
Appvey project update env -s my_appvey --json path/to/env.json
# using sequence of key/value pairs
Appvey project update env -s my_appvey var1:value1 var2:value2:true var3:value3
Sample of env.json file
[
{
"name":"api_key",
"value":{
"isEncrypted":true,
"value":"very-secret-key-encrypted"
}
},
{
"name":"var1",
"value":{
"isEncrypted":false,
"value":"new-value"
}
}
]
Note:
The different ways to enter token/account, read How to login
- <build start recent> : Start build of branch most recent commit:
- <build start commit> : Start build of specific branch commit:
- <build rerun> :Re-run build
- Start build of Pull Request: <build start pr>
- <build cancel> : Cancel build
- <build delete> : Delete build
- <project list> : Get projects
- <project last-build> : Get project last build
- <project last-build> : Get project last branch build
- <project build-version> : Get project build by version
- <project history> : Get project history
- <project deploy> : Get project deployments
- <project setting> : Get project settings
- <project yaml> : Get project settings in YAML
- <project env> : Get project environment variables
- <project add> : Add project
- <project update slug> : Update project
- <project update yaml> : Update project settings in YAM
- <project update env> : Update project environment variables
- <project update build-number> : Update project build number
- <project delete-cache> : Delete project build cache
- <project delete> : Delete project