Skip to content

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

revert: deploy only on release

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