Skip to content

Commit

Permalink
No need to make docs
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelburger committed Mar 26, 2024
1 parent a0c95f3 commit 4004d1e
Showing 1 changed file with 48 additions and 48 deletions.
96 changes: 48 additions & 48 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
on:
push:
branches:
- main
pull_request:
branches:
- main

name: pkgdown

jobs:
pkgdown:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-tinytex@v2
- run: tlmgr --version

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
any::pkgdown
local::.
eth-mds/mimic-demo
eth-mds/eicu-demo
nbenn/mockthat
- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: docs
# on:
# push:
# branches:
# - main
# pull_request:
# branches:
# - main

# name: pkgdown

# jobs:
# pkgdown:
# runs-on: ubuntu-latest
# env:
# GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

# steps:
# - uses: actions/checkout@v2

# - uses: r-lib/actions/setup-tinytex@v2
# - run: tlmgr --version

# - uses: r-lib/actions/setup-pandoc@v2

# - uses: r-lib/actions/setup-r@v2
# with:
# use-public-rspm: true

# - uses: r-lib/actions/setup-r-dependencies@v2
# with:
# extra-packages: |
# any::pkgdown
# local::.
# eth-mds/mimic-demo
# eth-mds/eicu-demo
# nbenn/mockthat

# - name: Build site
# run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
# shell: Rscript {0}

# - name: Deploy to GitHub pages 🚀
# if: github.event_name != 'pull_request'
# uses: JamesIves/[email protected]
# with:
# clean: false
# branch: gh-pages
# folder: docs

0 comments on commit 4004d1e

Please sign in to comment.