Skip to content

Deploy to Production #97

Deploy to Production

Deploy to Production #97

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/[email protected]
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