Add VPS deployment workflow
This commit is contained in:
parent
280247e1e5
commit
df7e4de7f9
5 changed files with 238 additions and 4 deletions
22
.gitea/workflows/deploy.yml
Normal file
22
.gitea/workflows/deploy.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue