From 3b37a32e0885eadd4fd09c181a19b1bb3ee59004 Mon Sep 17 00:00:00 2001 From: Andrew Jacombs Date: Mon, 6 Nov 2023 09:57:50 +1300 Subject: [PATCH] feat: store built docs as GitHub Actions artifact --- .github/workflows/push.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index bbe6e58170..111d10a0a9 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -29,6 +29,12 @@ jobs: run: | npx typedoc docker run --rm -v ${PWD}:/docs squidfunk/mkdocs-material build + + - name: Store docs artifact + uses: actions/upload-artifact@v3 + with: + name: docs + path: dist/docs # pulls all tags (needed for lerna to correctly version) - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* # see https://stackoverflow.com/a/60184319/9285308