Skip to content

Commit f487a53

Browse files
committed
[TOREMOVE] Test CI
1 parent de12c3f commit f487a53

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ test-ci ]
66

77
jobs:
88
validate:
@@ -16,7 +16,7 @@ jobs:
1616
- name: Check PyPI token is defined
1717
id: check_token
1818
run: |
19-
if [[ -n "${{ secrets.PYPI_TOKEN }}" ]]
19+
if [[ -n "${{ secrets.TEST_PYPI_TOKEN }}" ]]
2020
then
2121
echo "pypi_token_present=true" >> $GITHUB_OUTPUT
2222
else
@@ -63,7 +63,7 @@ jobs:
6363
git push --tags
6464
6565
- name: Upload Python package to PyPi
66-
run: twine upload dist/* --username __token__ --password ${{ secrets.PYPI_TOKEN }}
66+
run: twine upload --repository testpypi dist/* --username __token__ --password ${{ secrets.TEST_PYPI_TOKEN }}
6767

6868
- name: Create GitHub release
6969
uses: softprops/action-gh-release@v2

.github/workflows/validate.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Validate
22

33
on:
4+
push:
5+
branches: [ test-ci ]
46
pull_request:
57
types: [ assigned, opened, reopened, synchronize, ready_for_review ]
68
workflow_call:

0 commit comments

Comments
 (0)