ci: preserve server .env files during rsync to APP_DIR (fix missing BETTER_AUTH_SECRET)
This commit is contained in:
parent
a72af75c42
commit
7a28263924
1 changed files with 7 additions and 1 deletions
8
.github/workflows/ci-cd-web-desktop.yml
vendored
8
.github/workflows/ci-cd-web-desktop.yml
vendored
|
|
@ -33,7 +33,13 @@ jobs:
|
|||
- name: Sync workspace to APP_DIR
|
||||
run: |
|
||||
mkdir -p "$APP_DIR"
|
||||
rsync -az --delete --exclude '.git' --exclude '.next' ./ "$APP_DIR"/
|
||||
rsync -az --delete \
|
||||
--exclude '.git' \
|
||||
--exclude '.next' \
|
||||
--exclude '.env*' \
|
||||
--exclude 'apps/desktop/.env*' \
|
||||
--exclude 'convex/.env*' \
|
||||
./ "$APP_DIR"/
|
||||
|
||||
- name: Install and build (Next.js)
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue