Skip to content

Commit 2d6d5dd

Browse files
committed
šŸ› fix: update deploy commands script to load environment variables from .env files
1 parent a9eec7c commit 2d6d5dd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ā€Ž.github/workflows/deploy-commands.ymlā€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
script: |
1818
cd /home/${{ secrets.VPS_USER }}/webdev-bot-deploy
1919
20-
# Set up environment variables for the deploy script
21-
export DISCORD_TOKEN="${{ secrets.DISCORD_TOKEN }}"
22-
export CLIENT_ID="${{ secrets.CLIENT_ID }}"
20+
# Load environment variables
21+
source .env
22+
source .env.production
2323
export NODE_ENV=production
2424
2525
# Run the deploy script

0 commit comments

Comments
Ā (0)