Skip to content

Commit

Permalink
more workflow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoreilly committed Nov 8, 2023
1 parent 50a7707 commit c85a0cb
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ jobs:
- name: Build Demo
run: goki build ./demo -o static/demo -t js

# We need to unzip our zipped WASM because GitHub automatically
# zips it itself and does not work with pre-zipped files
- name: Unzip WASM
run: "mv static/demo/app.wasm static/demo/app.wasm.gz && gzip -d static/demo/app.wasm.gz"

- name: Install Hugo CLI
run: |
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: Install Dart Sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v2
with:
Expand All @@ -70,10 +70,6 @@ jobs:
uses: actions/configure-pages@v3
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
# We need to unzip our zipped WASM because GitHub automatically
# zips it itself and does not work with pre-zipped files
- name: Unzip WASM
run: "mv static/demo/app.wasm static/demo/app.wasm.gz && gzip -d static/demo/app.wasm.gz"
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
Expand Down

0 comments on commit c85a0cb

Please sign in to comment.