get API_TOKEN from environment variable
parent
57c6b9606e
commit
cd6d21b5f3
|
@ -6,8 +6,7 @@ set -o pipefail
|
|||
shopt -s inherit_errexit
|
||||
|
||||
: "${DOMAIN:?specify domain name}"
|
||||
|
||||
readonly AUTH_HEADER="Authorization: Bearer du-dummy-api-token"
|
||||
readonly AUTH_HEADER="Authorization: Bearer ${API_TOKEN:?not set error}"
|
||||
readonly QUERY='query AllServices {
|
||||
services {
|
||||
allServices {
|
||||
|
|
Loading…
Reference in New Issue