Skip to content

Commit

Permalink
ci: fix devmode override for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie committed Oct 20, 2022
1 parent dcf31a5 commit f7cba37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
run: |
subdir <- "${{ env.subdir }}"
if (nzchar(subdir)) {
Sys.setenv("PKGDOWN_DEV_MODE" = if (grepl("^v([0-9]+\\.?){3}$", subdir)) "released" else "unreleased")
Sys.setenv("PKGDOWN_DEV_MODE" = if (grepl("^v([0-9]+\\.?){3}$", subdir)) "release" else "unreleased")
}
pkgdown::deploy_to_branch(
subdir = if (nzchar(subdir)) subdir,
Expand Down

0 comments on commit f7cba37

Please sign in to comment.