Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Create cloud.yml

Nick Sweeting35464776a801
diff --git a/.github/workflows/cloud.yml b/.github/workflows/cloud.yml
new file mode 100644
index 000000000..00a7d956e
--- /dev/null
+++ b/.github/workflows/cloud.yml
@@ -0,0 +1,29 @@
+name: cloud
+
+on:
+ push:
+ branches:
+ - main
+ - 'releases/*'
+ workflow_dispatch:
+
+jobs:
+ eval_deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - name: eval-deploy
+ run: |
+ event_type="trigger-workflow"
+ curl -L \
+ -X POST \
+ -H "Accept: application/vnd.github+json" \
+ -H "Authorization: Bearer ${{ secrets.TRIGGER_CLOUD_BUILD_GH_KEY }}" \
+ -H "X-GitHub-Api-Version: 2022-11-28" \
+ https://api.github.com/repos/browser-use/cloud/dispatches \
+ -d "{
+ \"event_type\": \"$event_type\",
+ \"client_payload\": {
+ \"git_branch\": \"${{ github.head_ref }}\",
+ \"commit_hash\": \"${{ github.sha }}\"
+ }
+ }"