I just hope it works now #13
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/.nvm/versions/node/v22.6.0/bin:$PATH | |
cd ~/htdocs/inscrompt.com && git pull && pnpm build |