From 62d8b530f977670087597ac1e7e024d38ef1852e Mon Sep 17 00:00:00 2001 From: David Konsumer Date: Sun, 7 Jul 2024 19:20:26 -0700 Subject: [PATCH] build site --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d05b598..be368c7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,6 +23,8 @@ jobs: uses: mymindstorm/setup-emsdk@v14 - name: Setup Ninja run: sudo apt update && sudo apt install -y ninja-build + - name: Setup wasi SDK + run: sudo mkdir -p /opt/wasi-sdk && sudo chown -R $(whoami) /opt/wasi-sdk && cd /opt/wasi-sdk && wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-22/wasi-sdk-22.0-linux.tar.gz && tar xvzf wasi-sdk-22.0-linux.tar.gz - name: Build Site run: ./build.sh && mkdir -p dist && cp -R build index.html dist - name: Upload artifact