Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"lint:fix": "eslint . --fix",
"typecheck": "nuxt typecheck .",
"deploy": "npm run generate && npx -y firebase-tools --project=default deploy",
"deploy:hosting": "npx -y firebase-tools --project=default deploy --only hosting"
"deploy:hosting": "npx -y firebase-tools --project=default deploy --only hosting",
"shadcn:copy": "npx @invertase/firebaseui-shadcn copy --outDir=public/r"
},
"devDependencies": {
"@docsearch/js": "^3.9.0",
Expand Down
5 changes: 5 additions & 0 deletions functions/src/cron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ const buildConfig = {
entrypoint: "npm",
args: ["--prefix=frontend", "run", "generate"]
},
{
name: "node:22",
entrypoint: "npm",
args: ["--prefix=frontend", "run", "shadcn:copy"]
},
{
name: "node:22",
entrypoint: "npm",
Expand Down
3 changes: 3 additions & 0 deletions static/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ steps:
- name: 'node:22'
entrypoint: 'npm'
args: ['--prefix=frontend', 'run', 'build']
- name: 'node:22'
entrypoint: 'npm'
args: ['--prefix=frontend', 'run', 'shadcn:copy']
- name: 'node:22'
entrypoint: 'npm'
args: ['--prefix=frontend', 'run', 'deploy:hosting']