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