Skip to content

Deploy to Production #119

Deploy to Production

Deploy to Production #119

Workflow file for this run

name: Deploy to Production
on:
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: ssh and deploy
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.DEPLOY_HOST }}
username: ${{ secrets.DEPLOY_USERNAME }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
port: ${{ secrets.DEPLOY_PORT }}
script: cd /home/ubuntu/py.tidb.ai-docker && docker compose up -d --force-recreate --pull always