From db78884fd2ab24c1294373b5db7b8de0ce0d4997 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Sun, 7 Feb 2021 15:16:26 +0300 Subject: [PATCH] Fixed check of NGROK_AUTH_TOKEN. --- .github/actions/build-docs/upload.ros | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/build-docs/upload.ros b/.github/actions/build-docs/upload.ros index 34b6827..4c5ce0c 100755 --- a/.github/actions/build-docs/upload.ros +++ b/.github/actions/build-docs/upload.ros @@ -229,7 +229,12 @@ behaviour could be overriden by keyword argument ``:raise t``." :if-exists :overwrite) (declare (ignorable s))) - (when (uiop:getenv "NGROK_AUTH_TOKEN") + (unless (string= (or (uiop:getenv "NGROK_AUTH_TOKEN") + ;; If var is not given, uiop will return NIL, + ;; but inside github action, not required arguments + ;; are empty strings and env var will be empty string. + "") + "") (let ((url (ngrok/slynk:start 4005))) (when url (log:info "Waiting for connection to ~A" url)