Skip to content

[QI2-1223] Remove duplicated e2e login code (#92) #259

[QI2-1223] Remove duplicated e2e login code (#92)

[QI2-1223] Remove duplicated e2e login code (#92) #259

Workflow file for this run

name: Releases
on:
push:
branches:
- master
release:
types:
- created
jobs:
docs-deploy:
name: Deploy docs
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: qutech-delft/github-actions/actions/docs/sphinx-docs-deploy@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
python-build:
name: Build Python package
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: qutech-delft/github-actions/actions/python/poetry-build@master
python-deploy:
name: Deploy Python package
runs-on: "ubuntu-latest"
needs: python-build
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v4
- name: Download Artifact
uses: actions/download-artifact@v4
with:
name: dist
path: dist
# Publishing the package
- name: Publish distribution 📦 to Test PyPI
if: github.ref == 'refs/heads/master'
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
verbose: true
- name: Publish distribution 📦 to PyPI
if: github.event_name == 'release' && github.event.action == 'created'
uses: pypa/gh-action-pypi-publish@release/v1