Upload artifacts on each PR (#299)

* Upload artifacts on each PR

* Use artifact V3
This commit is contained in:
Hendrik Kleinwaechter
2023-12-07 09:00:18 +01:00
committed by GitHub
parent f9667718d4
commit 354737861f
2 changed files with 25 additions and 3 deletions

View File

@@ -14,10 +14,11 @@ push_docker_image: build_docker_image
docker push $(DOCKER_IMAGE):latest
# Books/website
build_serif_pdf:
$(DOCKER_CMD) "cd /opt/repo/book && make build_serif_pdf"
# Quicker run for each commit, shall catch most problems
validate:
$(DOCKER_CMD) "cd /opt/repo/book && make -j build_serif_pdf build_ebook"
build_ebook:
$(DOCKER_CMD) "cd /opt/repo/book && make build_ebook"
build_pdf:
$(DOCKER_CMD) "cd /opt/repo/book && make"