Skip to content

fix(website): Add ctl=1 as a query parameter to the StackBlitz iframe's src URL. #675

fix(website): Add ctl=1 as a query parameter to the StackBlitz iframe's src URL.

fix(website): Add ctl=1 as a query parameter to the StackBlitz iframe's src URL. #675

name: LiveCodes Preview
on: [pull_request]
jobs:
build_and_prepare:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
- uses: live-codes/preview-in-livecodes@v1
with:
install-command: "pnpm install --frozen-lockfile"
build-command: "pnpm build"
base-url: "https://{{LC::REF}}.preview-in-livecodes-demo.pages.dev"