Skip to content

remove template figs #3

remove template figs

remove template figs #3

Workflow file for this run

on:
push:
branches:
- main
- master
name: Build
jobs:
Build_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: '2.17.1'
- name: Install R
uses: r-lib/actions/setup-r@v2
with:
r-version: '4.2.0'
use-public-rspm: true
- name: Install dependencies
run: make install
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
- name: build html
run: make
- name: build pdf
run: make pdf
- name: prepare deployment
run: |
mkdir docs
mv index.html docs/
if [ -d index_files ]; then
mv index_files docs/
fi
mv assets docs/
mv conf docs/
mv images docs/
mv slides.pdf docs/
- name: Deploy gh_pages
uses: JamesIves/github-pages-deploy-action@v4
with:
BRANCH: gh-pages
FOLDER: docs
SINGLE_COMMIT: true