From 6615b806613e6f0ded4431c343db33c16f81b489 Mon Sep 17 00:00:00 2001 From: Max Poletaev Date: Mon, 6 Jan 2025 18:29:57 +0300 Subject: [PATCH] Fix build --- .github/workflows/deploy.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 6e599f9..af03de8 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -20,22 +20,31 @@ defaults: jobs: deploy: - runs-on: golang:1.23 + runs-on: ubuntu-latest environment: name: github-pages url: ${{steps.deployment.outputs.page_url}} steps: - name: Checkout uses: actions/checkout@v4 + - name: Setup Pages id: pages uses: actions/configure-pages@v5 + + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: 1.23 + - name: Build run: make build-wasm + - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: path: ./web + - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4