Skip to content

ci : add github pages workflow for wasm examples #2969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 31, 2025

Conversation

danbev
Copy link
Collaborator

@danbev danbev commented Mar 31, 2025

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: #2784


The build for this will not happen until this is pushed to the master branch, but I've built this in my fork so that it can be verified:

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: ggml-org#2784
This commit moves coi-serviceworker.js to the root of the examples
directory.
@danbev danbev merged commit e17af65 into ggml-org:master Mar 31, 2025
47 checks passed
@danbev danbev deleted the wasm-examples-gihub-pages branch April 1, 2025 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants