Skip to content

Commit 5db83f4

Browse files
authored
fix: add cleanup step for pkgdown pull request workflow (#49)
* Add cleanup step for pkgdown pull request workflow Add step to restore original checkout for cleanup in PRs. Signed-off-by: Aksel Thomsen <thomsenaksel@gmail.com> * Fix condition for restoring original checkout Signed-off-by: Aksel Thomsen <thomsenaksel@gmail.com> --------- Signed-off-by: Aksel Thomsen <thomsenaksel@gmail.com>
1 parent dafc350 commit 5db83f4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pkgdown.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,8 @@ jobs:
113113
git commit -m "Update gh pages from the PR"
114114
115115
git push
116+
- name: Restore original checkout for cleanup
117+
if: always() && inputs.use_local_setup_action
118+
uses: actions/checkout@v4
119+
with:
120+
clean: false

0 commit comments

Comments
 (0)