From e92019d862e31fbce705abeaab66d418ccfe819d Mon Sep 17 00:00:00 2001 From: Remi Bernotavicius Date: Mon, 15 Jul 2024 15:49:36 -0700 Subject: [PATCH] Add github action to build and deploy zola site --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3467170a..829399b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,6 +83,15 @@ jobs: mkdir -p website/doc/book cd doc/book ./build-all-versions.sh ../../website/doc/book + - name: Install Zola + - uses: taiki-e/install-action@v2 + with: + tool: zola@0.19.1 + - name: Build Website With Zola + run: | + cd website2 + zola build + mv public ../website/new - name: Set up Pages uses: actions/configure-pages@v4 - name: Upload Artifact