Skip to content

Commit 23fd217

Browse files
committed
🔧 More tweaks to staging action
1 parent 09448af commit 23fd217

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/staging.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
- name: Deploy to Linode
2424
run: |
2525
ssh -T dev@${{ secrets.LINODE_IP }} << 'EOF'
26-
PNPM_PATH="/home/dev/.local/share/pnpm/pnpm"
26+
export NVM_DIR="$HOME/.nvm"
27+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
28+
PNPM_PATH="$NVM_DIR/versions/node/$(nvm current)/bin/pnpm"
2729
2830
cd /var/www/portfolio-next && \
2931
source ~/.profile && \

0 commit comments

Comments
 (0)