This action build Re:VIEW files using opinionated-review and create the artifact with respective format.
Optional Directory contains .re
files and corresponding config files. default to articles
.
Optional Directory where generated artifacts goes to. default to dist
.
Optional pdf
, pdf-ebook
, epub
, kindle
. default to pdf
Optional Built-in theme name or path to theme directory. default to techbooster
.
Optional Output paper size. default to A5
.
name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: vibranthq/build-review@v1
- uses: actions/upload-artifact@master
with:
name: Artifacts
path: ./dist
run with fine-grained settings:
name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: vibranthq/build-review@v1
with:
format: epub
paperSize: B5
build: ./src/articles
theme: ./src/styles
dist: ./generated
- uses: actions/upload-artifact@master
with:
name: Artifacts
path: ./generated