Skip to content

mtdev2/build-review

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Re:VIEW GitHub Action

screenshot

View in GitHub Marketplace

This action build Re:VIEW files using opinionated-review and create the artifact with respective format.

Inputs

build

Optional Directory contains .re files and corresponding config files. default to articles.

dist

Optional Directory where generated artifacts goes to. default to dist.

format

Optional pdf, pdf-ebook, epub, kindle. default to pdf

theme

Optional Built-in theme name or path to theme directory. default to techbooster.

paperSize

Optional Output paper size. default to A5.

Usage

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

About

🦄 GitHub Action that build Re:VIEW files and create artifacts with respective format.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 63.7%
  • Dockerfile 36.3%