Skip to content

Commit e930357

Browse files
authored
🔨 Rewrite voice APPID/TOKEN when deploying in service
2 parents fa4d63d + 29510d0 commit e930357

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎.github/workflows/docker-deploy.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ jobs:
8989
run: |
9090
cd $HOME/nexent/docker
9191
cp .env.example .env
92+
93+
sed -i "s/APPID=.*/APPID=${{ secrets.VOICE_APPID }}/" .env
94+
sed -i "s/TOKEN=.*/TOKEN=${{ secrets.VOICE_TOKEN }}/" .env
95+
9296
if [ "$DEPLOYMENT_MODE" = "production" ]; then
9397
./deploy.sh --mode 3 --is-mainland N --enable-terminal N --version 2 --root-dir "$HOME/nexent-production-data"
9498
else

0 commit comments

Comments
 (0)