Skip to content

Commit

Permalink
Add actions
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Solymos <[email protected]>
  • Loading branch information
psolymos committed May 20, 2024
1 parent 07e5cc2 commit dfc6470
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 58 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
push:
branches:
- master

name: check

jobs:
deploy:
runs-on: macOS-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: R setup
uses: r-lib/actions/setup-r@v2
- name: Install pandoc
run: |
brew install pandoc
brew install --cask xquartz
- name: Install dependencies
run: Rscript -e 'install.packages(c("rmarkdown", "knitr", "pkgdown", "devtools"))'
- name: Check package
run: Rscript -e 'devtools::check()'
- name: Build site
run: Rscript -e 'pkgdown::build_site_github_pages(install=TRUE)'
- name: Deploy site
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs
clean: true
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

44 changes: 0 additions & 44 deletions appveyor.yml

This file was deleted.

0 comments on commit dfc6470

Please sign in to comment.