Skip to content

Commit 738f5e6

Browse files
committed
Deploy dev site alongside release site
1 parent 7235e08 commit 738f5e6

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/pkgdown.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
22
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
33
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
48
release:
59
types: [published]
610
workflow_dispatch:
@@ -65,6 +69,7 @@ jobs:
6569
shell: Rscript {0}
6670

6771
- name: Deploy to GitHub pages 🚀
72+
if: github.event_name != 'pull_request'
6873
uses: JamesIves/github-pages-deploy-action@v4.5.0
6974
with:
7075
clean: false

_pkgdown.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ destination: docs
33
template:
44
params:
55
bootswatch: cosmo
6+
development:
7+
mode: auto
68
navbar:
79
title: loo
810
left:

0 commit comments

Comments
 (0)