Skip to content

2.0.1

2.0.1 #28

Workflow file for this run

name: publish
on:
release:
types: [created]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "publish"
cancel-in-progress: false
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: pages
uses: actions/configure-pages@v5
- name: set up python
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
cache: "pip"
cache-dependency-path: "pyproject.toml"
- name: install invoke
run: pip install invoke
- name: install dependencies
run: pip install '.[dev]'
- name: build
run: inv build
- name: publish pypi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }}
run: inv publish
- name: generate docs
run: inv docs
- uses: actions/upload-pages-artifact@v3
with:
path: _site/arcee
- id: publish-docs
uses: actions/deploy-pages@v4