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 080e21d commit 48db71c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/clone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,13 @@ jobs:
- name: Create working branch
working-directory: target
run: git checkout -b $WORKING_BRANCH
- name: Clear existing project
working-directory: target
run: |
shopt -s extglob
rm -rf !(".devcontainer"|".github"|"LICENSE"|"readme.md")
- name: Copy source to target
run: cp -ra source/src/web/. target/
run: cp -ra source/src/. target/
- name: Change text content
working-directory: target
run: |
Expand Down Expand Up @@ -80,4 +85,4 @@ jobs:
run: |
url=$(gh pr create --title "[AUTO] $CURRENT_DATE | Merge latest from source repo" --body "${{ steps.check-files.outputs.status}}" --base main --head $WORKING_BRANCH)
gh pr merge --auto --merge $url
echo $url
echo $url

0 comments on commit 48db71c

Please sign in to comment.