Skip to content

Protocol: Add recommended ADC config values #69

Protocol: Add recommended ADC config values

Protocol: Add recommended ADC config values #69

name: Bookdown
on:
push:
branches:
- master
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install R
uses: r-lib/actions/setup-r@v2
- name: Install Pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Install TinyTeX
uses: r-lib/actions/setup-tinytex@v2
- name: Install bookdown
run: Rscript -e "install.packages(c('rmarkdown', 'bookdown'))"
- name: Build book
run: make
- name: Upload documentation
uses: actions/upload-artifact@v3
with:
name: Bookdown
path: Bookdown
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@master
- name: Download HTML
uses: actions/download-artifact@v3
with:
name: Bookdown
path: Bookdown
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: Bookdown