* [PATCH olang] docs: build: fix docs publishing task
@ 2024-02-17 20:38 Johnny Richard
2024-02-17 19:37 ` [olang/patches/.build.yml] build success builds.sr.ht
0 siblings, 1 reply; 2+ messages in thread
From: Johnny Richard @ 2024-02-17 20:38 UTC (permalink / raw)
To: ~johnnyrichard/olang-devel; +Cc: Johnny Richard
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 <johnny@johnnyrichard.com>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-17 19:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-17 20:38 [PATCH olang] docs: build: fix docs publishing task Johnny Richard
2024-02-17 19:37 ` [olang/patches/.build.yml] build success builds.sr.ht
Code repositories for project(s) associated with this public inbox
https://git.johnnyrichard.com/olang.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox