Buy/sell test #74
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 Node.js App to Azure VM | |
# on: | |
# push: | |
# branches: | |
# - main # Set this to your default branch | |
# jobs: | |
# deploy: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - name: Pull latest changes, install packages, build and run | |
# uses: appleboy/ssh-action@master | |
# with: | |
# host: ${{ secrets.AZURE_VM_IP }} | |
# username: ${{ secrets.SSH_USER }} | |
# key: ${{ secrets.SSH_PRIVATE_KEY }} | |
# port: 22 | |
# script: | | |
# cd ~/apps/solana_bot/solana_sniper | |
# git pull | |
# npm install | |
# npm run build | |
# pm2 reload ecosystem.config.js || pm2 start ecosystem.config.js |