Skip to content

Commit

Permalink
[TOREMOVE] Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiSG committed Jun 21, 2024
1 parent 4249377 commit e1b855e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy

on:
push:
branches: [ main ]
branches: [ test-ci ]

jobs:
validate:
Expand All @@ -16,7 +16,7 @@ jobs:
- name: Check PyPI token is defined
id: check_token
run: |
if [[ -n "${{ secrets.PYPI_TOKEN }}" ]]
if [[ -n "${{ secrets.TEST_PYPI_TOKEN }}" ]]
then
echo "pypi_token_present=true" >> $GITHUB_OUTPUT
else
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
git push --tags
- name: Upload Python package to PyPi
run: twine upload dist/* --username __token__ --password ${{ secrets.PYPI_TOKEN }}
run: twine upload --repository testpypi dist/* --username __token__ --password ${{ secrets.TEST_PYPI_TOKEN }}

- name: Create GitHub release
uses: softprops/action-gh-release@v1
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Validate

on:
push:
branches: [ test-ci ]
pull_request:
types: [ assigned, opened, reopened, synchronize, ready_for_review ]
workflow_call:
Expand Down

0 comments on commit e1b855e

Please sign in to comment.