Skip to content

Commit

Permalink
activated GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
EricMarcon committed Jan 22, 2024
1 parent 01834f9 commit e9016ce
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/memoir.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
branches:
- suspended
- master

name: rmarkdown

Expand All @@ -10,7 +10,7 @@ jobs:
runs-on: macOS-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup R
uses: r-lib/actions/setup-r@v2
- name: Install pandoc
Expand All @@ -22,13 +22,7 @@ jobs:
options(pkgType = "binary")
options(install.packages.check.source = "no")
install.packages(c("distill", "downlit", "memoiR", "rmdformats", "tinytex"))
tinytex::install_tinytex()
install.packages("remotes")
remotes::install_github("kupietz/kableExtra")
shell: Rscript {0}
- name: Private key
run: |
cat("${{ secrets.rsa }}", file="GF-Richness.rsa")
tinytex::install_tinytex(bundle = "TinyTeX")
shell: Rscript {0}
- name: Render Rmarkdown files
run: |
Expand All @@ -39,7 +33,7 @@ jobs:
run: |
echo 'theme: jekyll-theme-slate' > docs/_config.yml
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ghpages
path: docs
Expand All @@ -48,7 +42,7 @@ jobs:
needs: render
steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@4
with:
name: ghpages
path: docs
Expand Down

0 comments on commit e9016ce

Please sign in to comment.