Add pnpm to path #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Inscrompt landing page | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy to server | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.FIDDLE_IP }} | |
username: inscrompt | |
key: ${{ secrets.SSH_INSCROMPT_PRIVATE }} | |
script: | | |
export PATH=$HOME/.local/share/pnpm:$PATH | |
cd ~/htdocs/inscrompt.com && git pull && pnpm install && pnpm build |