From 7dc3f13d28b8adff9784f5efeeaca593f02102cc Mon Sep 17 00:00:00 2001 From: Mutsuha Asada Date: Wed, 1 Jan 2025 17:11:11 +0900 Subject: [PATCH] fix: remove .git directory --- actions/deploy/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/deploy/deploy.sh b/actions/deploy/deploy.sh index 1b3604f..fc39fa6 100644 --- a/actions/deploy/deploy.sh +++ b/actions/deploy/deploy.sh @@ -9,7 +9,7 @@ cp .ravenlog/blog_settings.json workspace/src/app/_assets/ cp .ravenlog/posts.json workspace/src/app/_assets/ cp -r .ravenlog/assets/** workspace/public/ -find . -mindepth 1 -maxdepth 1 ! -name 'workspace' ! -name '.git' -exec rm -rf {} + +find . -mindepth 1 -maxdepth 1 ! -name 'workspace' -exec rm -rf {} + mv workspace/* . rm -rf workspace