From bdd94d2c3829c894e85a62d89b9622d631be5c49 Mon Sep 17 00:00:00 2001 From: Andreas Rossberg Date: Fri, 13 Sep 2024 16:31:50 +0200 Subject: [PATCH] [ci] Add action to actually upload docs --- .github/workflows/ci-spec.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci-spec.yml b/.github/workflows/ci-spec.yml index a3b4dd875e..cfd6909d64 100644 --- a/.github/workflows/ci-spec.yml +++ b/.github/workflows/ci-spec.yml @@ -70,6 +70,15 @@ jobs: name: web-api-rendered path: document/web-api/index.html + build-spec-versions: + - name: Checkout repo + uses: actions/checkout@v2 + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: versions-rendered + path: document/versions/ + publish-spec: runs-on: ubuntu-latest needs: [build-core-spec, build-js-api-spec, build-web-api-spec] @@ -93,6 +102,11 @@ jobs: with: name: web-api-rendered path: _output/web-api + - name: Download spec versions artifacts + uses: actions/download-artifact@v4 + with: + name: versions-rendered + path: _output/versions - name: Publish to GitHub Pages if: github.ref == 'refs/heads/main' uses: peaceiris/actions-gh-pages@v3