Add VPS deployment workflow

This commit is contained in:
andreysk0304 2026-04-28 18:16:41 +03:00
parent 280247e1e5
commit df7e4de7f9
5 changed files with 238 additions and 4 deletions

View file

@ -0,0 +1,22 @@
name: Deploy to BrowserUse VPS
on:
push:
branches:
- feature/api-for-subagent
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