We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1b23e1 commit dae280aCopy full SHA for dae280a
arg-parsing-test.bats
@@ -17,23 +17,19 @@ teardown() {
17
18
set_env_vars() {
19
# Set environment variables.
20
- export GIT_DEPLOY_USERNAME=env-username
21
- export GIT_DEPLOY_EMAIL=env-email
22
export GIT_DEPLOY_APPEND_HASH=env-var
23
}
24
25
write_env_file() {
26
# Write a '.env' file to override environment variables.
27
cat <<-EOF > .env
28
- GIT_DEPLOY_EMAIL=dotenv-email
29
GIT_DEPLOY_APPEND_HASH=env-file
30
EOF
31
32
33
write_conf_file() {
34
# Write a config-file to override '.env'.
35
cat <<-EOF > conf
36
- GIT_DEPLOY_EMAIL=conf-email
37
GIT_DEPLOY_APPEND_HASH=conf-file
38
39
0 commit comments