Skip to content

Commit 30532b7

Browse files
committed
add production #2
1 parent 4504d66 commit 30532b7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/deploy.yml

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
run: |
3333
pwd
3434
touch .env
35+
echo NODE_ENV=production >> .env
3536
echo CLIENT_ID=${{ secrets.CLIENT_ID }} >> .env
3637
echo DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} >> .env
3738
cat .env

scripts/after-deploy.sh

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ npm install pnpm -g
1111

1212
pnpm install
1313

14-
export NODE_ENV=production
15-
1614
mkdir -p /home/ubuntu/.store
1715
chown -R ubuntu:ubuntu /home/ubuntu/.store
1816

0 commit comments

Comments
 (0)