Skip to content

Commit

Permalink
usethis pkgdown github
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejohnson51 committed Dec 17, 2024
1 parent 79ce653 commit 5f2600a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
12 changes: 6 additions & 6 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help

on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
release:
types: [published]
workflow_dispatch:

name: Website
name: pkgdown.yaml

permissions: read-all

jobs:
pkgdown:
Expand All @@ -23,7 +23,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

Expand All @@ -40,9 +40,9 @@ jobs:
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy to GitHub pages
- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
clean: false
branch: gh-pages
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ Suggests:
Remotes:
mikejohnson51/AOI
Config/testthat/edition: 3
URL: https://github.com/mikejohnson51/NFHL
URL: https://github.com/mikejohnson51/NFHL, https://mikejohnson51.github.io/NFHL/
BugReports: https://github.com/mikejohnson51/NFHL/issues
2 changes: 1 addition & 1 deletion _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
url: ~
url: https://mikejohnson51.github.io/NFHL/
template:
bootstrap: 5

0 comments on commit 5f2600a

Please sign in to comment.