[CI] Bump frontend image tag to 94329082d7aa691e19c97f69c4d28e715066e1eb #36
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 |