Adding initial arduino instruction #63
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: Build site for review | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build_site_and_upload: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install tools | |
run: | | |
sudo apt-get update | |
sudo apt install -y pandoc libxml2-dev libssl-dev libcurl4-openssl-dev r-base r-base-dev; | |
sudo apt install -y libharfbuzz-dev libfribidi-dev; | |
sudo R -e "install.packages('devtools')"; | |
sudo R -e "devtools::install_github('rstudio/rmarkdown')"; | |
wget https://github.com/mathjax/MathJax/archive/master.zip; | |
unzip master.zip >/dev/null; | |
rm master.zip; | |
export RMARKDOWN_MATHJAX_PATH=$PWD/MathJax-master; | |
- name: Build site | |
run: | | |
R -e "rmarkdown::render_site()"; | |
tools/headers; | |
- name: Upload site artifact for review | |
uses: actions/upload-artifact@v3 | |
with: | |
name: site_for_review | |
path: _site |