Adding proper citation #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: fmcmc website | |
on: [push, pull_request] | |
env: | |
cntr: rocker/tidyverse:latest | |
jobs: | |
build: | |
runs-on: Ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Container | |
run: docker pull ${cntr} | |
- name: Building website | |
run: docker run --rm -i -v ${PWD}:/home/mnt -w /home/mnt ${cntr} Rscript -e 'install.packages(c("mcmc", "coda", "pkgdown"));system("R CMD INSTALL .");pkgdown::build_site(install=FALSE)' | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs | |