From 2637327af0559e75f03a726795acf31cf28f3852 Mon Sep 17 00:00:00 2001 From: Sidney Andrews Date: Tue, 29 Oct 2024 08:58:19 -0400 Subject: [PATCH] Update clone.yml Signed-off-by: Sidney Andrews --- .github/workflows/clone.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/clone.yml b/.github/workflows/clone.yml index 09505d6..040eb0c 100644 --- a/.github/workflows/clone.yml +++ b/.github/workflows/clone.yml @@ -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