fix(ci): Act on push of tags on main repo.
name: Upload Python package
on:
- release:
- types: [created]
+ push:
+ tags:
+ - 1*
+ - v*
jobs:
deploy:
runs-on: ubuntu-latest
+ if: github.repository == 'mnubo/kubernetes-py'
steps:
- uses: actions/checkout@v2
- run: |
