Skip to content

update examples page, add download buttons & css #115

update examples page, add download buttons & css

update examples page, add download buttons & css #115

Workflow file for this run

on:
push:
branches:
- master
name: renderbook
jobs:
bookdown:
name: render
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install TeXlive
run: sudo apt-get update && sudo apt-get install texlive texlive-latex-extra
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- name: Install R packages
run: Rscript -e 'install.packages(c("rmarkdown", "bookdown","fontawesome","webshot","rsvg","tinytex","downloadthis"))'
- name: Install phamtomJS for webshot
run: Rscript -e 'webshot::install_phantomjs()'
- name: Render Book
run: Rscript build.R
- name: Create cname file
uses: finnp/create-file-action@master
env:
FILE_NAME: "./_book/CNAME"
FILE_DATA: "manual.obis.org"
- name: Deploy to gh-pages
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_book