Skip to content

Merge pull request #1606 from avinxshKD/fix/codeembed-postmessage-origin #215

Merge pull request #1606 from avinxshKD/fix/codeembed-postmessage-origin

Merge pull request #1606 from avinxshKD/fix/codeembed-postmessage-origin #215

Workflow file for this run

name: Deploy beta to Netlify
on:
# Trigger the workflow every time you push to the `main` branch
# Using a different branch name? Replace `main` with your branch’s name
push:
branches: ["v1"]
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:
# Allow this job to clone the repo and create a page deployment
permissions:
contents: read
pages: write
id-token: write
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v6.3.0
with:
node-version: 24
- name: Checkout your repository using git
uses: actions/checkout@v6
- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build
- name: Deploy to Cloudflare Workers
uses: cloudflare/wrangler-action@v4
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
environment: beta