From 653cc515336383df04de8fe7faf9a22967c7b325 Mon Sep 17 00:00:00 2001 From: Jody Phelan Date: Thu, 25 Jan 2024 17:18:43 +0000 Subject: [PATCH] add actions --- .github/workflows/docs.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..5e4c6f1 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,22 @@ +name: MkDocs +on: + push: + branches: + - master + - main +permissions: + contents: write +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - uses: actions/cache@v2 + with: + key: ${{ github.ref }} + path: .cache + - run: pip install ".[docs]" + - run: mkdocs gh-deploy --force \ No newline at end of file