Open-Systems-Pharmacology / TLF-Library

TLF Library implementation in R
https://www.open-systems-pharmacology.org/TLF-Library/
Other
9 stars 6 forks source link

Adjust mode in _pkgdown.yml #508

Closed Yuri05 closed 3 months ago

Yuri05 commented 3 months ago

Replace mode: devel with mode: !expr Sys.getenv('PKGDOWN_MODE') (otherwise the update-release-website.yml action will still update the dev website)

pchelle commented 3 months ago

Currently we have this: https://github.com/Open-Systems-Pharmacology/TLF-Library/blob/6bafc92b5539fe381640c4d0d623fdd83406ca18/.github/workflows/update-release-website.yml#L16

Is this not what !expr Sys.getenv('PKGDOWN_MODE') would also provide ?

Yuri05 commented 3 months ago

update-release-website.yml is correct; the error is in _pkgdown.yml: https://github.com/Open-Systems-Pharmacology/TLF-Library/blob/6bafc92b5539fe381640c4d0d623fdd83406ca18/_pkgdown.yml#L7