Skip to content

chore: using trusted publisher #20

chore: using trusted publisher

chore: using trusted publisher #20

Workflow file for this run

---
name: Publish
on:
push:
tags:
- '*'
jobs:
publish:
name: "Publish release"
runs-on: "ubuntu-latest"
permissions:
id-token: write
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install hatch
hatch env create
- name: Build package & docs
run: |
hatch build
hatch run mkdocs build --clean
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1