Files
pack/examples/secrets/railpack.json
T

32 lines
657 B
JSON

{
"$schema": "../../test/schema.json",
"secrets": ["MY_SECRET", "MY_OTHER_SECRET", "HELLO_WORLD"],
"steps": {
"usesSecrets": {
"commands": [{ "src": ".", "dest": "." }, "./run.sh"],
"secrets": ["MY_SECRET", "MY_OTHER_SECRET"],
"variables": {
"NOT_SECRET": "not secret"
}
},
"defaultsToUsing": {
"commands": [{ "src": ".", "dest": "." }, "./run.sh"],
"variables": {
"NOT_SECRET": "not secret"
}
},
"doesNotUseSecrets": {
"commands": [{ "src": ".", "dest": "." }, "./run.sh true"],
"secrets": []
}
},
"deploy": {
"startCommand": "./run.sh"
}
}