Files
Jake RunzerandGitHub c1dc800b02 Make all secrets available to all commands (#141)
* add all secrets to all commands

* update docs

* fix secrets test

* update snapshot tests
2025-04-23 23:59:14 -04:00

27 lines
536 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"
}
}
},
"deploy": {
"startCommand": "./run.sh"
}
}