From cca1c2f2ec455c65b1c92cf7f0bd0476b5b23dd3 Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Sat, 24 Feb 2024 12:24:38 +0100 Subject: [PATCH] Add Upload artifact step. --- .github/workflows/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e9dde2e..2daef77 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,3 +25,10 @@ jobs: - name: Build docs run: make json working-directory: ./docs + # Refs #22: Upload an artifact containing the built docs. + - name: Upload docs + uses: actions/upload-artifact@v2 + with: + # Use a name from the commit hash to avoid collisions. + name: docs-${{ github.sha }} + path: docs/_build/json