We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcd4b61 commit 09448afCopy full SHA for 09448af
1 file changed
.github/workflows/staging.yml
@@ -22,13 +22,15 @@ jobs:
22
23
- name: Deploy to Linode
24
run: |
25
- ssh dev@${{ secrets.LINODE_IP }} << 'EOF'
+ ssh -T dev@${{ secrets.LINODE_IP }} << 'EOF'
26
+ PNPM_PATH="/home/dev/.local/share/pnpm/pnpm"
27
+
28
cd /var/www/portfolio-next && \
29
source ~/.profile && \
30
git fetch origin && \
31
git checkout staging && \
32
git pull origin staging && \
- pnpm install && \
- pnpm build && \
33
+ $PNPM_PATH install && \
34
+ $PNPM_PATH build && \
35
pm2 restart next-staging
36
EOF
0 commit comments