Add main or master branch condition
This commit is contained in:
parent
5f7c16b566
commit
0c6a3edb34
@ -3,6 +3,7 @@ pipeline:
|
||||
image: python:latest
|
||||
when:
|
||||
event: tag
|
||||
branch: [ main, master ]
|
||||
commands:
|
||||
- python --version
|
||||
- pip install -U build --quiet
|
||||
@ -12,6 +13,7 @@ pipeline:
|
||||
image: python:latest
|
||||
when:
|
||||
event: tag
|
||||
branch: [ main, master ]
|
||||
secrets: [ twine_username, twine_password ]
|
||||
commands:
|
||||
- pip install -U twine --quiet
|
||||
|
Loading…
Reference in New Issue
Block a user