ci: exclude/protect node_modules and .pnpm-store in rsync to avoid permission issues
This commit is contained in:
parent
3735e0d178
commit
7fc2c4a56e
1 changed files with 16 additions and 0 deletions
16
.github/workflows/ci-cd-web-desktop.yml
vendored
16
.github/workflows/ci-cd-web-desktop.yml
vendored
|
|
@ -62,12 +62,20 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
mkdir -p "$APP_DIR"
|
mkdir -p "$APP_DIR"
|
||||||
rsync -az --delete \
|
rsync -az --delete \
|
||||||
|
--filter='protect node_modules' \
|
||||||
|
--filter='protect node_modules/**' \
|
||||||
|
--filter='protect .pnpm-store' \
|
||||||
|
--filter='protect .pnpm-store/**' \
|
||||||
--filter='protect .env' \
|
--filter='protect .env' \
|
||||||
--filter='protect .env*' \
|
--filter='protect .env*' \
|
||||||
--filter='protect apps/desktop/.env*' \
|
--filter='protect apps/desktop/.env*' \
|
||||||
--filter='protect convex/.env*' \
|
--filter='protect convex/.env*' \
|
||||||
--exclude '.git' \
|
--exclude '.git' \
|
||||||
--exclude '.next' \
|
--exclude '.next' \
|
||||||
|
--exclude 'node_modules' \
|
||||||
|
--exclude 'node_modules/**' \
|
||||||
|
--exclude '.pnpm-store' \
|
||||||
|
--exclude '.pnpm-store/**' \
|
||||||
--exclude '.env*' \
|
--exclude '.env*' \
|
||||||
--exclude 'apps/desktop/.env*' \
|
--exclude 'apps/desktop/.env*' \
|
||||||
--exclude 'convex/.env*' \
|
--exclude 'convex/.env*' \
|
||||||
|
|
@ -109,12 +117,20 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
mkdir -p "$APP_DIR"
|
mkdir -p "$APP_DIR"
|
||||||
rsync -az --delete \
|
rsync -az --delete \
|
||||||
|
--filter='protect node_modules' \
|
||||||
|
--filter='protect node_modules/**' \
|
||||||
|
--filter='protect .pnpm-store' \
|
||||||
|
--filter='protect .pnpm-store/**' \
|
||||||
--filter='protect .env' \
|
--filter='protect .env' \
|
||||||
--filter='protect .env*' \
|
--filter='protect .env*' \
|
||||||
--filter='protect apps/desktop/.env*' \
|
--filter='protect apps/desktop/.env*' \
|
||||||
--filter='protect convex/.env*' \
|
--filter='protect convex/.env*' \
|
||||||
--exclude '.git' \
|
--exclude '.git' \
|
||||||
--exclude '.next' \
|
--exclude '.next' \
|
||||||
|
--exclude 'node_modules' \
|
||||||
|
--exclude 'node_modules/**' \
|
||||||
|
--exclude '.pnpm-store' \
|
||||||
|
--exclude '.pnpm-store/**' \
|
||||||
--exclude '.env*' \
|
--exclude '.env*' \
|
||||||
--exclude 'apps/desktop/.env*' \
|
--exclude 'apps/desktop/.env*' \
|
||||||
--exclude 'convex/.env*' \
|
--exclude 'convex/.env*' \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue