* [PATCH olang] docs: build: add deployment script
@ 2024-02-16 16:23 Carlos Maniero
2024-02-16 16:28 ` [olang/patches/.build.yml] build success builds.sr.ht
2024-02-16 18:06 ` [PATCH olang] docs: build: add deployment script Johnny Richard
0 siblings, 2 replies; 4+ messages in thread
From: Carlos Maniero @ 2024-02-16 16:23 UTC (permalink / raw)
To: ~johnnyrichard/olang-devel; +Cc: Carlos Maniero
Signed-off-by: Carlos Maniero <carlos@maniero.me>
---
.build.yml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/.build.yml b/.build.yml
index b38efb3..db47086 100644
--- a/.build.yml
+++ b/.build.yml
@@ -2,9 +2,12 @@ image: archlinux
packages:
- gcc
- make
+ - hut
- clang
sources:
- https://git.sr.ht/~johnnyrichard/olang
+environment:
+ site: johnnyrichard.srht.site
tasks:
- lint: |
cd olang
@@ -15,4 +18,10 @@ tasks:
- check: |
cd olang
make check
+ - docs: |
+ cd olang/docs
+ make html
+ cd _build/html
+ tar -czvf ../docs.tar.gz .
+ hut pages publish -d $site ../docs.tar.gz
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [olang/patches/.build.yml] build success
2024-02-16 16:23 [PATCH olang] docs: build: add deployment script Carlos Maniero
@ 2024-02-16 16:28 ` builds.sr.ht
2024-02-16 18:06 ` [PATCH olang] docs: build: add deployment script Johnny Richard
1 sibling, 0 replies; 4+ messages in thread
From: builds.sr.ht @ 2024-02-16 16:28 UTC (permalink / raw)
To: Carlos Maniero; +Cc: ~johnnyrichard/olang-devel
olang/patches/.build.yml: SUCCESS in 16s
[docs: build: add deployment script][0] from [Carlos Maniero][1]
[0]: https://lists.sr.ht/~johnnyrichard/olang-devel/patches/49578
[1]: mailto:carlos@maniero.me
✓ #1151433 SUCCESS olang/patches/.build.yml https://builds.sr.ht/~johnnyrichard/job/1151433
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH olang] docs: build: add deployment script
2024-02-16 18:06 ` [PATCH olang] docs: build: add deployment script Johnny Richard
@ 2024-02-16 18:05 ` Carlos Maniero
0 siblings, 0 replies; 4+ messages in thread
From: Carlos Maniero @ 2024-02-16 18:05 UTC (permalink / raw)
To: Johnny Richard; +Cc: ~johnnyrichard/olang-devel
Thanks for the fix. I'm glad to see it working:
https://johnnyrichard.srht.site/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH olang] docs: build: add deployment script
2024-02-16 16:23 [PATCH olang] docs: build: add deployment script Carlos Maniero
2024-02-16 16:28 ` [olang/patches/.build.yml] build success builds.sr.ht
@ 2024-02-16 18:06 ` Johnny Richard
2024-02-16 18:05 ` Carlos Maniero
1 sibling, 1 reply; 4+ messages in thread
From: Johnny Richard @ 2024-02-16 18:06 UTC (permalink / raw)
To: Carlos Maniero; +Cc: ~johnnyrichard/olang-devel
Looks good! Applied.
To git.sr.ht:~johnnyrichard/olang
+ 2db0060...9d0b52f main -> main
I added a small fix for the missing sphinx package and oauth settings.
---------->8----------
Subject: fixup
diff --git a/.build.yml b/.build.yml
index db47086..61de4ae 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,9 +1,11 @@
image: archlinux
+oauth: pages.sr.ht/PAGES:RW
packages:
- gcc
- make
- hut
- clang
+ - python-sphinx
sources:
- https://git.sr.ht/~johnnyrichard/olang
environment:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-02-16 18:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-16 16:23 [PATCH olang] docs: build: add deployment script Carlos Maniero
2024-02-16 16:28 ` [olang/patches/.build.yml] build success builds.sr.ht
2024-02-16 18:06 ` [PATCH olang] docs: build: add deployment script Johnny Richard
2024-02-16 18:05 ` Carlos Maniero
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