Skip to content

Commit

Permalink
Update clone.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Sidney Andrews <[email protected]>
  • Loading branch information
seesharprun authored Oct 29, 2024
1 parent 498ee7d commit 2637327
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/clone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ jobs:
run: git checkout -b $WORKING_BRANCH
- name: Clear existing project
working-directory: target
run: find . -mindepth 1 ! -regex '\./\(\.devcontainer\|\.github\|LICENSE\|readme\.md\)' -print0 | xargs -0 rm -rf
run: |
shopt -s extglob
rm -rf !(".devcontainer"|".github"|"LICENSE"|"readme.md")
- name: Copy source to target
run: cp -ra source/src/. target/
- name: Change text content
Expand Down

0 comments on commit 2637327

Please sign in to comment.