Skip to content

ci: add pnpm to path in deploy workflow #62

ci: add pnpm to path in deploy workflow

ci: add pnpm to path in deploy workflow #62

Workflow file for this run

name: Deployment
on:
push:
branches:
- ci
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: ssh into EC2 and execute commands
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.DROPLET_HOST }}
username: ${{ secrets.DROPLET_USER }}
key: ${{ secrets.DROPLET_SSH_KEY }}
script: |
which $SHELL
export PATH=/root/.local/share/pnpm:$PATH
echo $PATH
cd animechan
./deploy.sh