<NME> deploy.yml
<BEF> ADDFILE
<MSG> Support to publish to Pypi in github-action (#3510)

* update model zoo

* Support deploy to Pypi through github action

* resolve comments

* go back to use mmdet

* Support wheel
<DFF> @@ -0,0 +1,22 @@
+name: deploy
+
+on: push
+
+jobs:
+  build-n-publish:
+    runs-on: ubuntu-latest
+    if: startsWith(github.event.ref, 'refs/tags')
+    steps:
+      - uses: actions/checkout@v2
+      - name: Set up Python 3.7
+        uses: actions/setup-python@v2
+        with:
+          python-version: 3.7
+      - name: Install torch
+        run: pip install torch
+      - name: Build MMDetection
+        run: python setup.py sdist bdist_wheel
+      - name: Publish distribution to PyPI
+        run: |
+          pip install twine
+          twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}

{'addition_count': 22, 'commit_subject': 'Support to publish to Pypi in github-action (#3510)', 'deletion_count': 0, 'file_extension': '.yml', 'lang': 'github/workflows/deploy', 'license': 'apache-2.0', 'repo_name': 'open-mmlab/mmdetection'}