mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-21 18:41:13 -06:00
Upload artifacts on each PR (#299)
* Upload artifacts on each PR * Use artifact V3
This commit is contained in:
committed by
GitHub
parent
f9667718d4
commit
354737861f
21
.github/workflows/validate-book-build.yml
vendored
21
.github/workflows/validate-book-build.yml
vendored
@@ -36,3 +36,24 @@ jobs:
|
||||
run: |
|
||||
cd /app/book
|
||||
make -j build_serif_pdf build_ebook
|
||||
- name: Test building website
|
||||
uses: addnab/docker-run-action@v3
|
||||
with:
|
||||
image: ghcr.io/hendricius/the-sourdough-framework:latest
|
||||
options: -v ${{ github.workspace }}:/app
|
||||
run: |
|
||||
cd /app/book
|
||||
make -j website
|
||||
- name: Upload book Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: books
|
||||
path: |
|
||||
book/book_serif/book.log
|
||||
book/book_serif/book.pdf
|
||||
book/book-epub/book.epub
|
||||
- name: Upload website Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: website
|
||||
path: website/static_website_html
|
||||
|
||||
Reference in New Issue
Block a user