Skip to content

Commit 2f03b19

Browse files
committed
Update session content
1 parent 817b582 commit 2f03b19

3 files changed

Lines changed: 18 additions & 16 deletions

File tree

.github/workflows/pkgdown.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,24 @@ on:
44
push:
55
branches:
66
- main # Or 'master', depending on your repository's default branch
7+
workflow_dispatch:
78

89
jobs:
910
build-deploy:
1011
runs-on: ubuntu-22.04
11-
# Use a specific container version for reproducibility
1212
container: rocker/verse:4.4
13-
# Set minimum required permissions for the GITHUB_TOKEN
1413
permissions:
15-
contents: read # To check out the repository
16-
pages: write # To deploy to GitHub Pages
14+
contents: write
15+
pages: write
1716

1817
steps:
19-
# CRITICAL: The cross-repository trigger using a PAT has been removed
20-
# due to major security risks. Consider using reusable workflows instead.
21-
2218
- name: Checkout Repository
2319
uses: actions/checkout@v4
2420

2521
- name: Setup R
2622
uses: r-lib/actions/setup-r@v2
2723
with:
28-
r-version: '4.4' # Specify R version
24+
r-version: '4.4'
2925

3026
- name: Cache R package dependencies
3127
uses: actions/cache@v4
@@ -38,9 +34,14 @@ jobs:
3834
- name: Install R package dependencies
3935
uses: r-lib/actions/setup-r-dependencies@v2
4036
with:
41-
# This action reads your DESCRIPTION file to install dependencies
4237
packages: any::remotes, any::pkgdown
4338

39+
- name: Install local package
40+
run: Rscript -e "remotes::install_local()"
41+
42+
- name: Install LaTeX Beamer
43+
run: sudo apt-get update && sudo apt-get install -y texlive-latex-extra rsync
44+
4445
- name: Build pkgdown site
4546
run: Rscript -e 'pkgdown::build_site()'
4647

@@ -56,6 +57,5 @@ jobs:
5657
- name: Deploy to GitHub Pages 🚀
5758
uses: JamesIves/github-pages-deploy-action@v4
5859
with:
59-
# GITHUB_TOKEN is used by default, no need to specify
60-
branch: gh-pages # The branch the action should deploy to
61-
folder: docs # The folder the action should deploy
60+
branch: gh-pages
61+
folder: docs

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ Suggests:
1818
License: CC BY 4.0
1919
Encoding: UTF-8
2020
LazyData: true
21-
URL: https://github.com/waldronbios2/session4
21+
URL: https://waldronbios2.github.io/session4/
2222
VignetteBuilder: knitr

_pkgdown.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@ home:
22
strip_header: true
33
links:
44
- text: Full course notes
5-
href: https://waldronbios2.github.io/cunybios2/
5+
href: https://bios2.waldronlab.io
66
- text: git clone
77
href: https://github.com/waldronbios2/session4.git
88

9-
url: https://bios2.waldronlab.io
9+
url: https://waldronbios2.github.io/session1/
1010

1111
template:
1212
params:
1313
bootswatch: lumen
1414
ganalytics: UA-176789980-1
15-
15+
bs_version: 5
16+
1617
navbar:
1718
structure:
1819
left: [home, articles]
@@ -39,3 +40,4 @@ navbar:
3940
authors:
4041
Levi Waldron:
4142
href: https://waldronlab.io
43+

0 commit comments

Comments
 (0)