We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e7520 commit aef229eCopy full SHA for aef229e
.github/workflows/deploy.yml
@@ -34,11 +34,14 @@ jobs:
34
git checkout main
35
git pull origin main
36
37
+ # Read NODE_VERSION from .nvmrc
38
+ export NODE_VERSION=$(cat .nvmrc | sed 's/v//')
39
+ echo "Using Node version: $NODE_VERSION"
40
+
41
# Create .env.local file with secrets
42
cat > .env.local << EOF
43
DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }}
44
CLIENT_ID=${{ secrets.CLIENT_ID }}
- NODE_VERSION=${{ env.NODE_VERSION }}
45
EOF
46
47
# Stop any existing containers
0 commit comments