]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ci : add github pages workflow for wasm examples (#2969)
authorDaniel Bevenius <redacted>
Mon, 31 Mar 2025 09:34:40 +0000 (11:34 +0200)
committerGitHub <redacted>
Mon, 31 Mar 2025 09:34:40 +0000 (11:34 +0200)
commite17af6524f7268b02b506d2836a467335de27435
tree5db5f0b71a07096c023bcbb7dc63e24069fa8f2d
parent88d13a17a7465c6dc79c70da710716f837f0ebdc
ci : add github pages workflow for wasm examples (#2969)

* ci : add github pages workflow for wasm examples

This commit adds a github workflow to build and deploy the wasm examples
to github pages. The whisper.wasm example is deployed as the main page.

This workflow is trigged by a push to master and will deploy the
examples to: https://ggerganov.github.io/whisper.cpp/.

This requires that the repository has enabled github actions in
`Settings` -> `Pages` -> `Build and deployment` -> `Source` be set to
`GitHub Actions`.

One thing to note is that this commit removes the `talk` example as I'm
not sure how this example is built yet.

Refs: https://github.com/ggerganov/whisper.cpp/issues/2784
.github/workflows/examples-wasm.yml [new file with mode: 0644]
examples/bench.wasm/index-tmpl.html
examples/coi-serviceworker.js [new file with mode: 0644]
examples/command.wasm/index-tmpl.html
examples/stream.wasm/index-tmpl.html
examples/whisper.wasm/index-tmpl.html