Skip to content

SWI-11363 ci(playground): publish playground.html as a rolling release asset - #20

Merged
kshahbw merged 3 commits into
mainfrom
ci/playground-release
Jul 27, 2026
Merged

SWI-11363 ci(playground): publish playground.html as a rolling release asset#20
kshahbw merged 3 commits into
mainfrom
ci/playground-release

Conversation

@kshahbw

@kshahbw kshahbw commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

What

Replaces the GitHub Pages deploy (added in #19) with a rolling GitHub Release asset. On every push to main, the workflow builds dist/playground.html and uploads it to a playground-latest release with --clobber, so there's always one stable download link with the current build.

Why

Pages doesn't work in this org: the org-wide Pages custom domain (dev.bandwidth.com) resolves to the existing S3/CloudFront dev-docs site, so every repo's Pages URL redirects there and 404s. The deploy "succeeds" on GitHub's side but never serves. A release asset sidesteps DNS entirely and gives sellers a one-click download — no local npm run playground:build.

Result

Stable link once merged and run:
https://github.com/Bandwidth/bw-voice-adapter/releases/download/playground-latest/playground.html

GitHub Pages is a dead end for this org — the org-wide Pages custom domain
(dev.bandwidth.com) resolves to the S3/CloudFront dev-docs site, so no Pages
deploy in the org actually serves. Instead, attach the built playground.html
to a rolling 'playground-latest' release, refreshed on every push to main.
Gives sellers one stable download link, no local build required.
@kshahbw
kshahbw requested review from a team as code owners July 22, 2026 16:32
@bwappsec

bwappsec commented Jul 22, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@kshahbw kshahbw changed the title ci(playground): publish playground.html as a rolling release asset SWI-11363 ci(playground): publish playground.html as a rolling release asset Jul 22, 2026
@bwappsec

bwappsec commented Jul 24, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

The playground-latest download link is used as a marketing asset on Bandwidth's website, so the tag and filename are a stable contract.
@kshahbw
kshahbw merged commit ae4d9a2 into main Jul 27, 2026
6 checks passed
@kshahbw
kshahbw deleted the ci/playground-release branch July 27, 2026 15:01
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.

4 participants