Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,17 @@ on:
pull_request:
paths:
- 'docs/**'
- 'cmd/gh-aw-wasm/**'
- 'pkg/**'
- 'scripts/bundle-wasm-docs.sh'
push:
branches:
- main
paths:
- 'docs/**'
- 'cmd/gh-aw-wasm/**'
- 'pkg/**'
- 'scripts/bundle-wasm-docs.sh'

# Allow this job to clone the repo and create a page deployment
permissions:
Expand Down Expand Up @@ -47,6 +53,15 @@ jobs:
working-directory: ./docs
run: npm ci

- name: Set up Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
with:
go-version-file: go.mod
cache: true

- name: Build WebAssembly compiler for docs
run: ./scripts/bundle-wasm-docs.sh

- name: Build documentation
working-directory: ./docs
env:
Expand Down