fix: set default model in Gemini service when model is not specified #226
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: | |
paths: | |
- 'libs/**' | |
- 'src/**' | |
- '.github/workflows/deploy.yaml' | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Tailscale | |
uses: tailscale/github-action@v2 | |
with: | |
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} | |
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} | |
tags: tag:githubdeploy | |
- name: Deploy | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.HOSTNAME }} | |
username: root | |
key: ${{ secrets.SSH_PRIVATE_KEY }} | |
port: 22 | |
script_stop: true | |
script: | | |
cd ${{ secrets.SERVER_CWD }} | |
git pull origin main | |
/root/.bun/bin/bun i --no-save --frozen-lockfile | |
/root/.bun/bin/bunx prisma db push | |
/root/.bun/bin/bun run build | |
supervisorctl restart personal-whatsapp-bot |