This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
fix: document deprecation of the package #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Update Docs | |
"on": | |
push: | |
branches: [main] | |
paths: | |
- docs/** | |
- mkdocs.yml | |
workflow_dispatch: null # For manual runs | |
# Docs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions | |
permissions: | |
# Repository contents, commits, branches, downloads, releases, and merges. | |
contents: write | |
env: | |
COLUMNS: 120 | |
jobs: | |
docs: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-22.04] | |
python-version: ["3.8"] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # For git-revision-date-localized-plugin | |
- uses: ./.github/actions/setup | |
with: | |
os: ${{ matrix.os }} | |
python-version: ${{ matrix.python-version }} | |
- name: Setup Graphviz | |
uses: ts-graphviz/setup-graphviz@v1 | |
# https://github.com/mkdocs/mkdocs/discussions/2369#discussioncomment-625475 | |
- name: Configure git user | |
run: |- | |
git config user.name 'github-actions[bot]' | |
git config user.email 'github-actions[bot]@users.noreply.github.com' | |
- name: Build and deploy documentation | |
run: ./run cl.write doc.build doc.deploy |