diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 99abdc1..ee96e00 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -55,6 +55,12 @@ jobs: - name: List WASM Directory run: ls -l web/static/wasm + - name: Upload WASM files + uses: actions/upload-artifact@v2 + with: + name: wasm-files + path: web/static/wasm + build_hugo: needs: build_wasm runs-on: ubuntu-latest @@ -66,10 +72,19 @@ jobs: wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ && sudo dpkg -i ${{ runner.temp }}/hugo.deb + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages id: pages uses: actions/configure-pages@v4 + - name: Download WASM files + uses: actions/download-artifact@v2 + with: + name: wasm-files + path: web/static/wasm + - name: Build with Hugo env: HUGO_ENVIRONMENT: production