[CI] Bump frontend image tag to 38e2a79b1952e193cfb127b19bbf1ce14b827627 #59
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 |