Skip to content

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

Temporarily allow deploy on push to main (hotfix release)

Gregor Žunič7cefa730d371
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 77cb46bf5..b562c852a 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -64,7 +64,8 @@ jobs:
git push origin $new_tag
deploy:
- if: github.event_name == 'release'
+ # if: github.event_name == 'release'
+ if: github.ref == 'refs/heads/main' && github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4