📦 Add openai package to Dockerfile for OpenAI TTS engine #22
This file contains hidden or 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 to EC2 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Deploy via SSH | |
| uses: appleboy/[email protected] | |
| with: | |
| host: ${{ secrets.DEPLOY_HOST }} | |
| username: ubuntu | |
| key: ${{ secrets.DEPLOY_SSH_KEY }} | |
| script: | | |
| cd /home/ubuntu/bot/repo | |
| git pull origin main | |
| docker compose down | |
| docker compose up -d --build | |
| docker compose ps |