Skip to content

Commit f858ff9

Browse files
committed
rm spaces
1 parent 97d17e8 commit f858ff9

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/pkgdown.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@ jobs:
4545
# our versioning system+dev branch doesn't match the requirements for
4646
# develop mode = auto
4747
run: |
48-
target_ref <- "${{ github.event_name == 'pull_request' && github.base_ref || github.ref }}"
49-
override <- if (target_ref == "main" || target_ref == "refs/heads/main") {
50-
list(development = list(mode = "release"))
51-
} else if (target_ref == "dev" || target_ref == "refs/heads/dev") {
52-
list(development = list(mode = "devel"))
53-
} else {
54-
stop("Unexpected target_ref: ", target_ref)
55-
}
56-
pkg <- pkgdown::as_pkgdown(".", override = override)
57-
cli::cli_rule("Cleaning files from old site...")
58-
pkgdown::clean_site(pkg)
59-
pkgdown::build_site(pkg, preview = FALSE, install = FALSE, new_process = FALSE)
60-
pkgdown:::build_github_pages(pkg)
48+
target_ref <- "${{ github.event_name == 'pull_request' && github.base_ref || github.ref }}"
49+
override <- if (target_ref == "main" || target_ref == "refs/heads/main") {
50+
list(development = list(mode = "release"))
51+
} else if (target_ref == "dev" || target_ref == "refs/heads/dev") {
52+
list(development = list(mode = "devel"))
53+
} else {
54+
stop("Unexpected target_ref: ", target_ref)
55+
}
56+
pkg <- pkgdown::as_pkgdown(".", override = override)
57+
cli::cli_rule("Cleaning files from old site...")
58+
pkgdown::clean_site(pkg)
59+
pkgdown::build_site(pkg, preview = FALSE, install = FALSE, new_process = FALSE)
60+
pkgdown:::build_github_pages(pkg)
6161
shell: Rscript {0}
6262

6363
- name: Deploy to GitHub pages 🚀

0 commit comments

Comments
 (0)