Skip to content

Commit

Permalink
Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dvacca-onfido committed Jun 26, 2024
1 parent aa82418 commit 2a3f186
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ jobs:
publish:
runs-on: ubuntu-latest
needs: integration-tests
environment: delivery
if: github.event_name == 'release'
# environment: delivery
# if: github.event_name == 'release'
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_ACTION_ACCESS_TOKEN }}
ref: ${{ github.ref_name }}
# token: ${{ secrets.GH_ACTION_ACCESS_TOKEN }}
# ref: ${{ github.ref_name }}
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand All @@ -84,13 +84,13 @@ jobs:
python -m pip install --upgrade pip
pip install build wheel>=0.31.0
- name: Validate release
uses: onfido/onfido-actions/release-check
uses: onfido/onfido-actions/release-check@initial-version
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
# - name: Publish package
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}
- name: Update and commit CHANGELOG.md
uses: onfido/onfido-actions/update-changelog
uses: onfido/onfido-actions/update-changelog@initial-version

0 comments on commit 2a3f186

Please sign in to comment.