Commit Graph

45 Commits

Author SHA1 Message Date
Hendrik Kleinwaechter
8c5248e455 Use newer Github Actions version (#413)
v3 was deprecated, switch to v4
2025-01-02 14:09:39 +01:00
Cedric
60928bc404 Revert "Disable parallel build once again"
Some checks are pending
Release the book and website / build-and-push-image (push) Waiting to run
Release the book and website / release-book-website (push) Blocked by required conditions
Release the book and website / invalidate-book-website-cache (push) Blocked by required conditions
This reverts commit 6eba9635dd.
2024-12-29 20:20:47 +00:00
Cedric
6eba9635dd Disable parallel build once again
But now I have a log so hopefully I can debug it!
2024-12-28 17:36:43 +00:00
Cedric
7804bd8df1 Synchronize output of parallel jobs in make
Gives me a chance to find the bug before reverting parallel build
2024-12-28 17:17:16 +00:00
cedounet
cf49ab1ccc Some more ebook build dir (#404)
Do not run test-book-website on main push

This makes little sense to run it again.. we already did run twice on
branch push and for the PR request.  And we will run the exact same
thing and more (sans-serif, actual release etc) in release-book-website.
2024-12-28 17:04:54 +00:00
Cedric
69acb8c04d Re-enable parallel builds
We never knew why they broke on CI last time and not on any of
machines.. checking if that was a setup issue on github side.  This
woudl enable much faster builds.
2024-12-28 16:16:27 +00:00
Cedric
972edd651b Remove explicit website build in CI
We now can do both in make bake target as website and ebooks can run in
parallel.
2024-12-28 16:07:44 +00:00
Ced
e5bea976cd Reapply "Remove parallel option from make (#368)"
Fair enough it breaks on CI... does work on my machine though :(
not sure what is going on.

This reverts commit ee5e47de63.
2024-05-29 17:20:00 +01:00
Ced
ee5e47de63 Revert "Remove parallel option from make (#368)"
This reverts commit 3d16d58817.

There is no reason for parallel build to fail
2024-05-29 17:07:35 +01:00
Hendrik Kleinwaechter
3d16d58817 Remove parallel option from make (#368)
This temporarily removes the parallel option from make to ensure that we
can release the booklet. I am not sure why it causes an issue. Baking
the book without it causes no problem.
2024-05-29 09:02:23 +02:00
Hendrik Kleinwaechter
e4bd4632c5 Fix wrong image name in release workflow 2024-04-29 07:11:53 +02:00
Hendrik Kleinwaechter
d1b0bbead1 Simplify build process (#352)
Related to #349. This only builds the docker image on push to main. For
pull requests and pushes the whole build is tested.
2024-04-28 10:51:41 +02:00
Hendrik Kleinwaechter
49d93f7573 Change docker build process (#346)
Uses latest image by default. For releasing the book and website a new
image is built and stored as "latest".
2024-04-11 16:03:16 +02:00
Hendrik Kleinwaechter
d0f71d9b0e Runs tests on push (#317)
* Runs tests on push

* Move out config
2023-12-19 13:08:50 +01:00
Hendrik Kleinwaechter
99031a72df Revert "#308 — Build docker image for both amd64 and arm64 (#311)" (#314)
This reverts commit e6709b0f5e.
2023-12-18 12:37:04 +01:00
Anthony Atkinson
e6709b0f5e #308 — Build docker image for both amd64 and arm64 (#311)
* Build for both amd64 and arm64

* Moving line to retrigger Actions check

* Removal of the `platform` flag—let system choose

* Indicate to apt-get that there is no frontend
2023-12-18 09:43:12 +01:00
Hendrik Kleinwaechter
9e8acf257d Validate website format (#304)
* Validate website format

This validates the format of the website and throws an error if
something is fishy.

* Remove -j flag

* clean build

* Clean cache in between
2023-12-11 23:36:22 +01:00
Hendrik Kleinwaechter
bc496f1ffd Upload build artifacts on release 2023-12-10 17:58:54 +01:00
Hendrik Kleinwaechter
bce4f84040 Build docker image for each PR (#300)
This builds a docker image for each PR and then one for the release
tagged as :latest.
2023-12-10 00:04:32 +01:00
Hendrik Kleinwaechter
354737861f Upload artifacts on each PR (#299)
* Upload artifacts on each PR

* Use artifact V3
2023-12-07 09:00:18 +01:00
Cedric
990c4c0ec6 Prevent running validate when pushing on main
Rational is as follow:
    - We ran validate-book on each push on the PR branch anyway
    - We will run release_book which is a superset of validate
2023-12-02 16:11:26 +00:00
Ced
500f5e7dce Limit validate CI to serif pdf target and ebook 2023-10-27 21:17:51 +01:00
Ced
a8e98595c7 Use parallel build on github release action 2023-10-27 21:16:22 +01:00
Ced
ffccbf8b9f Update CI as per renamed targets in makefile 2023-10-08 20:10:18 +01:00
Hendrik Kleinwaechter
50d65f693b Improve website build documentation (#162)
This improves the documentation on how to build the website and applies
a couple of additional fixes. Followup to #161
2023-08-04 16:14:05 +02:00
Hendrik Kleinwaechter
d5889a67a1 🎉 Book Website (#145)
* Basic script to modify html output

* Modify HTML of website

* Add makefile

* Compile website in CI

* Improve readme
2023-07-11 09:03:07 +02:00
Hendrik Kleinwaechter
46ab05048e Fix Docker workflow issues (hopefully) (#143)
This hopefully fixes some of the issues of the docker workflow building
the book and website
2023-07-09 15:05:30 +02:00
Hendrik Kleinwaechter
acace08de1 Change into folder 2023-07-08 12:07:44 +02:00
Hendrik Kleinwaechter
eda0975d84 Tag with 'latest' 2023-07-08 11:24:25 +02:00
Hendrik Kleinwaechter
3b5187042f Build image only on main 2023-07-08 10:55:44 +02:00
Hendrik Kleinwaechter
509092c56e Improve website deployment (#139)
* Fix issue of book not building

* add dependencies

* fix

* test make4ht

* fix cmd

* Use own docker image

* Add label

* fix urls

* Add validate command

* build non mac version

* tmp run

* use smaller tex version

* build full
2023-07-08 10:51:23 +02:00
Hendrik Kleinwaechter
62a9e9a000 Style improvements website (#138)
* Improve general CSS for website

* Update github flow
2023-07-07 13:38:56 +02:00
Hendrik Kleinwaechter
f2ac5a37f7 Fix dir names 2023-07-03 16:36:21 +02:00
Hendrik Kleinwaechter
ef373f308d Fix dir name 2023-07-03 16:18:19 +02:00
Hendrik Kleinwaechter
0822ba81df Fix bucket name 2023-07-03 11:23:08 +02:00
Hendrik Kleinwaechter
bcfe67d4df Static HTML Website (alpha version) (#136)
This is a minimal alpha version of the book as static html website. More
stuff needs to be added, but should be okay for a working prototype.
Fixes #128
2023-07-03 09:21:25 +02:00
cedounet
ab608c7311 Remove building sans-serif ebook in CI (#135)
They are not needed as you can change the font in your reader.
Closes: https://github.com/hendricius/the-sourdough-framework/issues/131
2023-06-30 11:48:32 +02:00
Hendrik Kleinwaechter
6c8839da87 🤡 Add "make bake" command (#97)
I feel like since this is bread related, release should be renamed to
"bake". So `make bake` will bake you the final book versions.
2023-05-21 20:19:56 +02:00
Hendrik Kleinwaechter
0313a6faeb Invalidate book cache after deploy 2023-03-03 09:21:04 -05:00
Hendrik Kleinwaechter
d8b013e00a Add libraries 2023-03-02 15:36:36 -05:00
Hendrik Kleinwaechter
6e97f9bbd0 Screen Readers (#53)
* add tikzcache

* ignore files

* add latexmkrc file

* Move figures to new files

* rename images

* Fix build commands

* Release as epub3 and mobi

* Add cover-image support

* use older epub

* Externalize all tables

* change gh actions command

* fix linux xargs rm
2023-03-02 20:33:25 +01:00
Hendrik Kleinwaechter
528e091d77 Run CI on PRs too 2023-01-19 16:49:32 +01:00
Hendrik Kleinwaechter
8617acc687 Release book to S3 (#38)
This will automatically release the book to S3 after merging pull
requests
2023-01-12 15:49:47 +01:00
Andreas
7ba8510da1 Add latex build check to PRs (#37)
* Add release workflow

* Create validate.yml

* Update validate.yml
2023-01-12 13:14:47 +01:00
Andreas
7915d251a4 Add release workflow (#34) 2023-01-06 14:42:39 +01:00