From 2e2dd743d23a047defed3492537df5a34cac6875 Mon Sep 17 00:00:00 2001 From: Austin Godber Date: Wed, 24 Jul 2024 07:49:22 -0700 Subject: [PATCH] add docs artifact --- .gitea/workflows/test.yaml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 29ffeb2..a33a89e 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -32,14 +32,23 @@ jobs: flit build find dist - name: upload package as artifact + # v4 doesn't work + # uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3 with: name: bankfind path: dist + - name: Build docs with mkdocs + run: | + pip install mkdocs mkdocs-material mkdocs-material-extensions + cd docs + mkdocs build + find site + - name: upload docs as artifact + # v4 doesn't work + # uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 + with: + name: bankfind-docs + path: docs/site - # - name: Build docs with mkdocs - # run: | - # pip install mkdocs mkdocs-material mkdocs-material-extensions - # cd docs - # mkdocs build - # find site \ No newline at end of file