From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail-a.sr.ht; dkim=pass header.d=johnnyrichard.com header.i=@johnnyrichard.com Received: from out-184.mta0.migadu.com (out-184.mta0.migadu.com [IPv6:2001:41d0:1004:224b::b8]) by mail-a.sr.ht (Postfix) with ESMTPS id BF37F200B2 for <~johnnyrichard/olang-devel@lists.sr.ht>; Sat, 17 Feb 2024 19:36:45 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1708198605; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=oMc/Swe1x3gmoG4pvE8k09XXeSjAcvuPwEs6dKoMybk=; b=UrnhmFcX419EFq4tT7dTQ0MC8iT/CfRHHMsD4px4B3enOnm6I4UC3wrdqiz7GKXPj5XI6Q bNEV7LQ2Rb+ZU1eoH5AQ7pRFnGV75ufNQg/uf0qshXoJShyMfFGFtprxXD4K+ImgBocB4G 5e0BGTuPFtjmaxdVsmZGBRunwysS5nt/WQ5nD8kUakVdPhZ/Nbdf5jd8KPOUdUhZiTNYjn 1Mc0WFHcVmKr7TMUq35Z7OnJLkE7PwrTMK0E6E9QTsx1yT4Gdqg1Bj08BuXWuSZYZBCg4o drF9xrYBErnvzpI7OmoB3zm1Kh7Bt8Yzc0Thyqu9cvwt8lQ0A3s1fowDDwA/Xg== From: Johnny Richard To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Johnny Richard Subject: [PATCH olang] docs: build: fix docs publishing task Date: Sat, 17 Feb 2024 21:38:04 +0100 Message-ID: <20240217203859.94463-1-johnny@johnnyrichard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-TUID: IlBBMh8uf1gi For a strange reason the [ -z "$VAR" ] failed during build phase, we will try to run this task with a regular if statement instead. Signed-off-by: Johnny Richard --- This patch is already applied To git.sr.ht:~johnnyrichard/olang 892b6b9..5360b26 main -> main .build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.build.yml b/.build.yml index 42c5510..9aa3277 100644 --- a/.build.yml +++ b/.build.yml @@ -23,5 +23,8 @@ tasks: make check - docs-publish: | cd olang - [ -z "$BUILD_REASON" ] && hut pages publish -d $site docs/site.tar.gz + if [ "$BUILD_REASON" = "" ] + then + hut pages publish -d $site docs/site.tar.gz + fi -- 2.43.2