Skip to content

Commit 2f4dc60

Browse files
committed
Updated pkgdown workflow
1 parent cf6ce32 commit 2f4dc60

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+25066
-18
lines changed

.Rbuildignore

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
^.*\.Rproj$
2-
^\.Rproj\.user$
3-
^ISCAM\.Rproj$
4-
^LICENSE\.md$
5-
^cran-comments\.md$
6-
^\.github$
7-
^_pkgdown\.yml$
8-
^docs$
9-
^pkgdown$
1+
^.*\.Rproj$
2+
^\.Rproj\.user$
3+
^ISCAM\.Rproj$
4+
^LICENSE\.md$
5+
^cran-comments\.md$
6+
^\.github$
7+
^_pkgdown\.yml$
8+
^docs$
9+
^pkgdown$
10+
^CITATION\.cff$

.github/workflows/pkgdown.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@ jobs:
4040
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
4141
shell: Rscript {0}
4242

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: master
49-
folder: docs
50-
target-folder: docs
43+
- name: Deploy site
44+
run: |
45+
git config --global user.name "${{ github.actor }}"
46+
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
47+
git add docs
48+
git commit -m "Build and deploy pkgdown site [ci skip]" || exit 0
49+
git push

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
.Rhistory
33
.RData
44
.Ruserdata
5-
docs

docs/404.html

Lines changed: 74 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/LICENSE-text.html

Lines changed: 56 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/LICENSE.html

Lines changed: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/authors.html

Lines changed: 82 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/deps/bootstrap-5.3.1/bootstrap.bundle.min.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/deps/bootstrap-5.3.1/bootstrap.bundle.min.js.map

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

docs/deps/bootstrap-5.3.1/bootstrap.min.css

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)