fixed response for count badge #154
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 to Server | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'README.md' | |
- 'docs/**' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Execute remote commands | |
env: | |
SSHPASS: ${{ secrets.ROOT_SSH_PASSWORD }} | |
run: | | |
sshpass -e ssh -o StrictHostKeyChecking=no root@${{ secrets.SERVER_IP }} << 'EOF' | |
set -e | |
cd /home/andcoolsystems/PPLBandage_Backend | |
git fetch | |
git stash | |
git merge '@{u}' | |
npx prisma db push | |
docker compose build | |
docker compose up -d | |
EOF |