Skip to content

try pkg.edit.fun

try pkg.edit.fun #76

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
name: Build docs
jobs:
litedown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup
uses: eddelbuettel/github-actions/r-ci@master
- name: Dependencies
run: ./run.sh install_all
- name: install package and build site
run: |
git submodule update --init --recursive
Rscript -e 'install.packages("pak")'
Rscript -e 'pak::pkg_install("tdhock/atime@poncatime")'
R CMD build .
R CMD INSTALL *.tar.gz
R -e 'litedown::fuse_site("site")'
shell: bash
- name: netlify deploy
uses: animint/animint-actions/netlify-litedown@main
with:
netlify_auth_token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
netlify_site_id: ${{ secrets.NETLIFY_SITE_ID }}
path: site
pr_comment_token: ${{ secrets.GITHUB_TOKEN }}