Skip to content

Commit

Permalink
auto website generation
Browse files Browse the repository at this point in the history
  • Loading branch information
msberends committed Oct 30, 2022
1 parent 3fa67f7 commit bcfdf5d
Show file tree
Hide file tree
Showing 31 changed files with 51 additions and 4,600 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/website.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# ==================================================================== #
# TITLE #
# cleaner: Fast and Easy Data Cleaning #
# #
# SOURCE #
# https://github.com/msberends/cleaner #
# #
# LICENCE #
# (c) 2022 Berends MS ([email protected]) #
# #
# This R package is free software; you can freely use and distribute #
# it for both personal and commercial purposes under the terms of the #
# GNU General Public License version 2.0 (GNU GPL-2), as published by #
# the Free Software Foundation. #
# #
# This R package was publicly released in the hope that it will be #
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# ==================================================================== #

on:
push:
# only on main
branches: 'main'

name: website

jobs:
website:
runs-on: ubuntu-latest
continue-on-error: true
steps:
# Set up R (current stable version) and developer tools
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-pandoc@v2
- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
r-version: "release"
# use RStudio Package Manager (RSPM) to quickly install packages
use-public-rspm: true
- name: Set up R dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown

# Send updates to repo using GH Actions bot
- name: Create website in separate branch
run: |
git config user.name "github-actions"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE, clean = TRUE, install = TRUE, branch = "gh-pages")'
104 changes: 0 additions & 104 deletions docs/404.html

This file was deleted.

Loading

0 comments on commit bcfdf5d

Please sign in to comment.