diff options
Diffstat (limited to 'official-site/add-event.sh')
| -rwxr-xr-x | official-site/add-event.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/official-site/add-event.sh b/official-site/add-event.sh index 52c2d95..109c2c8 100755 --- a/official-site/add-event.sh +++ b/official-site/add-event.sh @@ -7,8 +7,8 @@ set -euo pipefail REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)" [ -f "$REPO_ROOT/.env" ] && set -a && source "$REPO_ROOT/.env" && set +a -ENDPOINT="https://APP_SYNC_ENDPOINT_REDACTED/graphql" -API_KEY="${APP_SYNC_API_KEY:-APP_SYNC_API_KEY_REDACTED}" +ENDPOINT="${APP_SYNC_ENDPOINT:?APP_SYNC_ENDPOINT not set}" +API_KEY="${APP_SYNC_API_KEY:?APP_SYNC_API_KEY not set}" JSON_FILE="${1:-}" if [ -z "$JSON_FILE" ]; then |
