Skip to content

chore(deps): lock file maintenance (#191) #71

chore(deps): lock file maintenance (#191)

chore(deps): lock file maintenance (#191) #71

Workflow file for this run

name: Publish Documentation
on:
push:
branches:
- main
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
name: Publish Documentation
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
with:
python-version: 3.11
- name: Install ghp-import
run: pip install ghp-import
- name: Initialize Pants
uses: pantsbuild/actions/init-pants@main
with:
# cache0 makes it easy to bust the cache if needed
gha-cache-key: cache0-py${{ matrix.python_version }}
named-caches-hash: ${{ hashFiles('dist/sphinx/*') }}
- name: Build documentation
run: |
pants docs ::
- name: Publish Documentation
run: ghp-import --push --force --no-history --no-jekyll dist/sphinx/