Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions 16 .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,21 @@ jobs:

# https://github.com/actions/setup-node
- name: Install Node.js
uses: actions/setup-node@v1.1.0
uses: actions/setup-node@v2-beta
with:
node-version: '14'

# https://github.com/actions/checkout
- name: Checkout
uses: actions/checkout@v2

# https://github.com/GitbookIO/gitbook/blob/master/docs/setup.md
- name: Run Gitbook
# https://github.com/honkit/honkit
- name: Run Honkit
run: |
npm install gitbook-cli
node ./node_modules/gitbook-cli/bin/gitbook.js build . public --log=debug --debug
node ./node_modules/gitbook-cli/bin/gitbook.js pdf . byte-of-python.pdf
node ./node_modules/gitbook-cli/bin/gitbook.js epub . byte-of-python.epub
npm install honkit --save-dev
npx honkit build . public --log=debug
npx honkit pdf . byte-of-python.pdf
npx honkit epub . byte-of-python.epub

# https://github.com/crazy-max/ghaction-github-pages
- name: Push to GitHub Pages
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.