Skip to content

Commit

Permalink
Update publish-commits-to-pypi-test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
menckend authored Oct 23, 2024
1 parent 8c0771d commit 09a81cd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish-commits-to-pypi-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@ name: Publish to test.pypi

on:
push:
tags:
- bananapants
branches:
- test
jobs:
build:
#if: ${{ startsWith(github.ref, 'refs/tags/') }} # only publish to test.pypi.org on tagged commits from test branch
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/tst')
environment:
name: testpypi
url: https://test.pypi.org/p/dcnodatg
Expand All @@ -35,7 +32,7 @@ jobs:
name: python-package-distributions
path: dist/
publish-to-testpypi:
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/tst')
environment:
name: testpypi
url: https://test.pypi.org/p/dcnodatg
Expand Down

0 comments on commit 09a81cd

Please sign in to comment.