Closed j-i-l closed 1 month ago
https://github.com/furrer-lab/abn/blob/9d852e7d796ebb0bac765d751b69e91d5198a499/.github/workflows/pkgdown.yaml#L52-L54
This currently runs
https://github.com/furrer-lab/abn/blob/9d852e7d796ebb0bac765d751b69e91d5198a499/.github/workflows/pkgdown.yaml#L3-L9
So we publish when running on pull requests.
If we want to test the build, then "Deploy to Github pages" should get an if, running only on release (or push > branch > main - this is to decide).
if
push > branch > main
Simply put a condition on the publish task to only run on push to master or publish new release
https://github.com/furrer-lab/abn/blob/9d852e7d796ebb0bac765d751b69e91d5198a499/.github/workflows/pkgdown.yaml#L52-L54
This currently runs
https://github.com/furrer-lab/abn/blob/9d852e7d796ebb0bac765d751b69e91d5198a499/.github/workflows/pkgdown.yaml#L3-L9
So we publish when running on pull requests.
If we want to test the build, then "Deploy to Github pages" should get an
if
, running only on release (orpush > branch > main
- this is to decide).