Skip to content

Commit

Permalink
fix: don't add frontend dir into plugin dist as it is not needed (#11)
Browse files Browse the repository at this point in the history
* fix: don't add frontend dir into plugin dist as it is not needed

* fix(pr-ci): don't add frontend dir into plugin dist as it is not needed
  • Loading branch information
BossSloth authored Jan 4, 2025
1 parent fbc4d77 commit 44771ee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,6 @@ jobs:
cp -r "backend" ./dist/backend 2>/dev/null || echo "::debug::backend directory not found, skipping."
fi
FRONTEND_DIR=$(jq -r '.frontend' plugin.json)
if [ "$FRONTEND_DIR" != "null" ]; then
cp -r "$FRONTEND_DIR" ./dist/"$FRONTEND_DIR"
else
cp -r "frontend" ./dist/frontend 2>/dev/null || echo "::debug::frontend directory not found, skipping."
fi
include=$(jq -r '.include // [] | .[]' plugin.json)
if [ -z "$include" ]; then
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,6 @@ jobs:
cp -r "backend" ./dist/backend 2>/dev/null || echo "::warning::backend directory not found, skipping."
fi
FRONTEND_DIR=$(jq -r '.frontend' plugin.json)
if [ "$FRONTEND_DIR" != "null" ]; then
cp -r "$FRONTEND_DIR" ./dist/"$FRONTEND_DIR"
else
cp -r "frontend" ./dist/frontend 2>/dev/null || echo "::warning::frontend directory not found, skipping."
fi
include=$(jq -r '.include // [] | .[]' plugin.json)
if [ -z "$include" ]; then
Expand Down

0 comments on commit 44771ee

Please sign in to comment.