Skip to content

Commit 283fba2

Browse files
committed
fix path, mode source
1 parent 4fd4d89 commit 283fba2

File tree

3 files changed

+6
-54
lines changed

3 files changed

+6
-54
lines changed

.github/workflows/auto_semver_bump.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
- name: Bump Versions
2020
uses: michmich112/version-bumper@master
2121
with:
22-
options-file: "./.github/workflows/version_bump_options.json"
22+
options-file: "./.github/version_bump_options.json"
2323
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pkgdown.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ jobs:
4141
env:
4242
DELPHI_EPIDATA_KEY: ${{ secrets.SECRET_EPIPROCESS_GHACTIONS_DELPHI_EPIDATA_KEY }}
4343
run: |
44-
mode <- ifelse("${{ GITHUB_BASE_REF }}" == "main", "release", "devel")
44+
if (startsWith("${{ GITHUB_EVENT_NAME }}", "pull_request")) {
45+
mode <- ifelse("${{ GITHUB_BASE_REF }}" == "main", "release", "devel")
46+
} else {
47+
mode <- ifelse("${{ GITHUB_REF_NAME }}" == "main", "release", "devel")
48+
}
4549
pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE, override=list(PKGDOWN_DEV_MODE=mode))
4650
shell: Rscript {0}
4751

.github/workflows/pkgdown_main.yaml

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)