Skip to content

Commit 1c21b04

Browse files
committed
ci: update release secrets (#143)
1 parent 98df64a commit 1c21b04

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/create-releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
run: |
3434
bash ./bin/publish-pypi
3535
env:
36-
PYPI_TOKEN: ${{ secrets.FINCH_PYPI_TOKEN }}
36+
PYPI_TOKEN: ${{ secrets.FINCH_PYPI_TOKEN || secrets.PYPI_TOKEN }}

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
run: |
2525
bash ./bin/publish-pypi
2626
env:
27-
PYPI_TOKEN: ${{ secrets.FINCH_PYPI_TOKEN }}
27+
PYPI_TOKEN: ${{ secrets.FINCH_PYPI_TOKEN || secrets.PYPI_TOKEN }}

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
bash ./bin/check-release-environment
1818
env:
1919
STAINLESS_API_KEY: ${{ secrets.STAINLESS_API_KEY }}
20-
PYPI_TOKEN: ${{ secrets.FINCH_PYPI_TOKEN }}
20+
PYPI_TOKEN: ${{ secrets.FINCH_PYPI_TOKEN || secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)