[CI] Bump frontend image tag to b8a97c84b67403120a114ef5d4a492dd78ef9855 #58
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 |