Skip to content

Commit

Permalink
Different workaround by uploading & downloading wasm files.
Browse files Browse the repository at this point in the history
  • Loading branch information
izzat5233 committed Dec 11, 2023
1 parent edc1ccb commit 777be74
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 777be74

Please sign in to comment.