Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2bd00d4

Browse files
committed
Pkgdown setup
1 parentc731999 commit2bd00d4

File tree

6 files changed

+54
-3
lines changed

6 files changed

+54
-3
lines changed

‎.Rbuildignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
^_pkgdown\.yml$
77
^docs$
88
^pkgdown$
9+
^\.github$

‎.github/.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

‎.github/workflows/pkgdown.yaml‎

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches:[main, master]
6+
pull_request:
7+
release:
8+
types:[published]
9+
workflow_dispatch:
10+
11+
name:pkgdown.yaml
12+
13+
permissions:read-all
14+
15+
jobs:
16+
pkgdown:
17+
runs-on:ubuntu-latest
18+
# Only restrict concurrency for non-PR jobs
19+
concurrency:
20+
group:pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
21+
env:
22+
GITHUB_PAT:${{ secrets.GITHUB_TOKEN }}
23+
permissions:
24+
contents:write
25+
steps:
26+
-uses:actions/checkout@v4
27+
28+
-uses:r-lib/actions/setup-pandoc@v2
29+
30+
-uses:r-lib/actions/setup-r@v2
31+
with:
32+
use-public-rspm:true
33+
34+
-uses:r-lib/actions/setup-r-dependencies@v2
35+
with:
36+
extra-packages:any::pkgdown, local::.
37+
needs:website
38+
39+
-name:Build site
40+
run:pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
41+
shell:Rscript {0}
42+
43+
-name:Deploy to GitHub pages 🚀
44+
if:github.event_name != 'pull_request'
45+
uses:JamesIves/github-pages-deploy-action@v4.5.0
46+
with:
47+
clean:false
48+
branch:gh-pages
49+
folder:docs

‎DESCRIPTION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ Suggests:
3030
Roxygen: list(markdown = TRUE)
3131
RoxygenNote: 7.3.2
3232
LazyData: true
33-
URL: https://github.com/patterninstitute/CAOP.RAA.2024
33+
URL: https://github.com/patterninstitute/CAOP.RAA.2024, http://www.pattern.institute/CAOP.RAA.2024/
3434
BugReports: https://github.com/patterninstitute/CAOP.RAA.2024/issues
3535
Config/Needs/website: patterninstitute/chic

‎_pkgdown.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
url:https://www.pattern.institute/CAOP.RAA.2024
1+
url:https://www.pattern.institute/CAOP.RAA.2024/
22
template:
3-
package:chic
43
bootstrap:5
54

‎man/CAOP.RAA.2024-package.Rd‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp