Skip to content

Commit

Permalink
trying something for prod deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
jongan69 committed Jan 13, 2025
1 parent 3ccb4d8 commit 22e1471
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions build-webrtc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
git clone https://github.com/node-webrtc/node-webrtc.git
cd node-webrtc
npm run build
cp build-linux-x64/Release/wrtc.node ../node_modules/
2 changes: 1 addition & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"src": "package.json",
"use": "@vercel/next",
"config": {
"installCommand": "yarn && cat dependencies.txt | xargs yarn add --ignore-platform"
"installCommand": "yarn && ./build-webrtc.sh"
}
}]
}

0 comments on commit 22e1471

Please sign in to comment.