BrowserUse_and_ComputerUse_.../.gitea/workflows/deploy.yml

23 lines
510 B
YAML

name: Deploy to BrowserUse VPS
on:
push:
branches:
- main
- develop
workflow_dispatch:
jobs:
deploy:
runs-on: deploy-vps
env:
DEPLOY_DIR: /home/BrowserUse-vps/apps/BrowserUse_and_ComputerUse_skills
DEPLOY_BRANCH: feature/api-for-subagent
HEALTH_URL: http://127.0.0.1:8088/health
steps:
- name: Deploy Docker Compose stack
shell: bash
run: |
set -Eeuo pipefail
cd "$DEPLOY_DIR"
bash scripts/deploy_vps.sh