Skip to content

Add citation info to README #47

Add citation info to README

Add citation info to README #47

Workflow file for this run

name: CI
on:
release:
types: [published]
push:
branches: main
workflow_dispatch:
jobs:
publish-pypi:
name: Publish to PyPI
if: github.event_name == 'release'
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/easyaligner
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
python-version: "3.10"
- name: Build package
run: uv build
- name: Publish to PyPI
run: uv publish --trusted-publishing always
publish-docs:
name: Publish Documentation
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
uv pip install "griffe<2" "quartodoc @ git+https://github.com/machow/quartodoc.git" .
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Build and render docs
run: |
cd docs
quartodoc build --verbose
quarto render
- name: Publish to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_site