Skip to content

Commit 3dde2f9

Browse files
committed
Update ci.yml
1 parent 4722404 commit 3dde2f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
pnpm run build || { echo "Failed to build $d, skipping"; cd ..; continue; }
3535
3636
mkdir -p ../../dist/"$d"
37-
cp .millennium ../../dist/"$d".millennium || echo "Failed to move $d to dist"
37+
cp -r .millennium ../../dist/"$d".millennium || echo "Failed to move $d to dist"
3838
3939
cp plugin.json ../../dist/"$d"plugin.json || echo "Failed to move plugin.json to dist"
4040
cp requirements.txt ../../dist/"$d"requirements.txt || echo "Failed to move requirements.txt to dist"
@@ -46,15 +46,15 @@ jobs:
4646
4747
backend=$(jq -r '.backend' plugin.json)
4848
if [ "$backend" != "null" ]; then
49-
cp "$backend" ../../dist/"$d""$backend" || echo "Failed to move $backend to dist"
49+
cp -r "$backend" ../../dist/"$d""$backend" || echo "Failed to move $backend to dist"
5050
fi
5151
5252
# Get extra files from include list in plugin.json and move them to dist
5353
5454
include=$(jq -r '.include' plugin.json)
5555
if [ "$include" != "null" ]; then
5656
for file in $include; do
57-
cp "$file" ../../dist/"$d""$file" || echo "Failed to move $file to dist"
57+
cp -r "$file" ../../dist/"$d""$file" || echo "Failed to move $file to dist"
5858
done
5959
fi
6060

0 commit comments

Comments
 (0)