Skip to content

Commit 09448af

Browse files
committed
Squashed commit of the following:
commit ab11a1e Author: Jacob Moy <apixelatedpug@gmail.com> Date: Wed Jul 30 14:16:28 2025 -0700 :wrench: Hopefully fix pnpm issue with gh action
1 parent dcd4b61 commit 09448af

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/staging.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ jobs:
2222
2323
- name: Deploy to Linode
2424
run: |
25-
ssh dev@${{ secrets.LINODE_IP }} << 'EOF'
25+
ssh -T dev@${{ secrets.LINODE_IP }} << 'EOF'
26+
PNPM_PATH="/home/dev/.local/share/pnpm/pnpm"
27+
2628
cd /var/www/portfolio-next && \
2729
source ~/.profile && \
2830
git fetch origin && \
2931
git checkout staging && \
3032
git pull origin staging && \
31-
pnpm install && \
32-
pnpm build && \
33+
$PNPM_PATH install && \
34+
$PNPM_PATH build && \
3335
pm2 restart next-staging
3436
EOF

0 commit comments

Comments
 (0)