Skip to content

Commit a2b4b40

Browse files
committed
Retry deployment
1 parent b6f40ca commit a2b4b40

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/pkgdown-deploy/action.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ runs:
44
using: "composite"
55
steps:
66
- name: Deploy site
7-
run: |
8-
pkgdown::deploy_to_branch(new_process = FALSE)
9-
shell: Rscript {0}
7+
uses: nick-fields/retry@v2
8+
with:
9+
timeout_minutes: 15
10+
max_attempts: 10
11+
command: |
12+
R -q -e 'pkgdown::deploy_to_branch(new_process = FALSE)'

0 commit comments

Comments
 (0)