Skip to content

Commit b4d8ca8

Browse files
author
doublebyte1
committed
cleaning subtrees without wiping out the entire sprint folder
1 parent 6a7548c commit b4d8ca8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,11 @@ jobs:
5454
5555
- name: Clean subtrees
5656
run: |
57-
rm -rf sprints/15 && rm -rf sprints/16 && rm -rf sprints/17 &&
58-
rm -rf sprints/nodes
59-
|| echo "Cleaning subtrees"
60-
57+
rm -rf sprints/15
58+
rm -rf sprints/16
59+
rm -rf sprints/17
60+
rm -rf sprints/nodes || echo "Cleaning subtrees"
61+
6162
- name: Add subtree 15
6263
run: |
6364
git subtree add --prefix sprints/15 https://github.com/opengeospatial/dev-ogc-org-sprint-landing-15.git gh-pages --squash || echo "Adding sprints/15"

0 commit comments

Comments
 (0)