Skip to content

Merge pull request #117 from mitodl/renovate/major-typescript-eslint-… #21

Merge pull request #117 from mitodl/renovate/major-typescript-eslint-…

Merge pull request #117 from mitodl/renovate/major-typescript-eslint-… #21

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@692973e3d937129bcbf40652eb9f2f61becf3332 # 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/