Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Merge pull request #420 from openchatai/widget/tw-migration #18

Merge pull request #420 from openchatai/widget/tw-migration

Merge pull request #420 from openchatai/widget/tw-migration #18

Workflow file for this run

name: Build & Upload the Embededable Script
on:
push:
branches:
- main
paths:
- "copilot-widget/**"
jobs:
build-and-upload-script:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: cd copilot-widget/ && npm install
- name: Build copilot-widget
run: cd copilot-widget/ && npm run build:embed
- name: Upload embed as artifact.
uses: actions/upload-artifact@v3
with:
name: copilot-widget@latest
path: copilot-widget/dist