Skip to content

Commit

Permalink
use GA for pkgdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Pakillo committed Feb 12, 2022
1 parent 45e018e commit 3fe6bc3
Show file tree
Hide file tree
Showing 29 changed files with 40 additions and 2,754 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
release:
types: [published]
workflow_dispatch:

name: pkgdown

jobs:
pkgdown:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2

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

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

- uses: r-lib/actions/setup-r-dependencies@v1
with:
extra-packages: pkgdown
needs: website

- name: Deploy package
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ grateful-report.Rmd
grateful-citations.html
test.Rmd
test_nocite.Rmd
docs
4 changes: 4 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
url: https://pakillo.github.io/grateful/
template:
bootstrap: 5

103 changes: 0 additions & 103 deletions docs/404.html

This file was deleted.

79 changes: 0 additions & 79 deletions docs/LICENSE-text.html

This file was deleted.

83 changes: 0 additions & 83 deletions docs/LICENSE.html

This file was deleted.

Loading

0 comments on commit 3fe6bc3

Please sign in to comment.