Skip to content

Refactor templates for improved styling and functionality #28

Refactor templates for improved styling and functionality

Refactor templates for improved styling and functionality #28

Workflow file for this run

# This workflow will upload a Python Package using Poetry when a commit is pushed to release branch
# For more information see:
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: CD
on:
push:
branches:
- main
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
- name: Install dependencies
run: |
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install poetry
poetry install
- name: Build package
run: |
source .venv/bin/activate
poetry build
- name: Publish package
run: |
source .venv/bin/activate
poetry publish --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}