checking issie. #1446
This file contains hidden or 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: Build & Deploy | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: nsnemo nodejs app | |
| uses: appleboy/ssh-action@master | |
| with: | |
| host: ${{ secrets.SSH_HOST }} # Your server's IP address | |
| username: ${{ secrets.SSH_USERNAME }} # Your server's username | |
| key: ${{ secrets.SSH_KEY }} # Your server's SSH private key | |
| passphrase: ${{ secrets.SSH_PASS }} # Your server's SSH password | |
| script: | | |
| cd /var/www/html/nemonode | |
| git pull origin main | |