[CI] Bump backend image tag to c33e7187b975035aeafffc76af5cac049ca46f8f #51
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 | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'docker-compose.yml' | |
- 'nginx.conf' | |
- 'pg_hba.conf' | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: deploy on remote | |
steps: | |
- uses: appleboy/ssh-action@v1.0.0 | |
with: | |
host: ${{ secrets.DC_HOST }} | |
username: ${{ secrets.DC_USER }} | |
password: ${{ secrets.DC_PASS }} | |
script: | | |
cd ~/tpc_portal | |
git pull origin main | |
docker compose up -d --no-deps --build |