forked from AdaCore/learn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: Build Sphinx Books | ||
|
||
on: [workflow_dispatch] | ||
on: [push] | ||
|
||
defaults: | ||
run: | ||
|
@@ -74,33 +74,33 @@ jobs: | |
run: make cleanall webpack-production sphinx-production | ||
# - name: Run SPHINX content tests | ||
# run: make -k HIDDEN_BOOKS=$HIDDEN_BOOKS HIDDEN_CONTENTS="" test_all_content | ||
# - name: Build PDF books including build/runtime output | ||
# run: make HIDDEN_BOOKS=$HIDDEN_BOOKS HIDDEN_CONTENTS="" pdf_books | ||
- name: Build PDF books including build/runtime output | ||
run: make HIDDEN_BOOKS=$HIDDEN_BOOKS HIDDEN_CONTENTS="" pdf_books | ||
- name: Archive PDF books in artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: learn-pdf-books | ||
path: | | ||
frontend/dist/pdf_books | ||
# if-no-files-found: error | ||
if-no-files-found: error | ||
retention-days: 1 | ||
compression-level: 9 | ||
# - name: Build EPUB books including build/runtime output | ||
# run: make HIDDEN_BOOKS=$HIDDEN_BOOKS HIDDEN_CONTENTS="" epub_books | ||
- name: Build EPUB books including build/runtime output | ||
run: make HIDDEN_BOOKS=$HIDDEN_BOOKS HIDDEN_CONTENTS="" epub_books | ||
- name: Archive EPUB books in artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: learn-epub-books | ||
path: | | ||
frontend/dist/epub_books | ||
# if-no-files-found: error | ||
if-no-files-found: error | ||
retention-days: 1 | ||
compression-level: 9 | ||
|
||
- name: Upload to page artifact | ||
uses: actions/[email protected] | ||
with: | ||
path: frontend/dist/html/ | ||
path: frontend/dist/{html,pdf_books,epub_books} | ||
|
||
deploy: | ||
permissions: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
exclude_patterns += [ | ||
'about.rst', | ||
'index.rst', | ||
'./index.rst', | ||
'**/README.md' | ||
] | ||
|
||
|