Merge pull request #23 from nuclearcat/fix-profile2 #6
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: Deploy production | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Deploy over SSH | |
| uses: appleboy/ssh-action@v1 | |
| with: | |
| host: ${{ secrets.DB_SSH_HOST }} | |
| username: ${{ secrets.DB_SSH_USER }} | |
| key: ${{ secrets.DB_SSH_KEY }} | |
| script: | | |
| cd kcidb-ng | |
| git pull --ff-only | |
| docker compose pull | |
| docker compose up -d --remove-orphans |