Files
waveterm-docs/.github/workflows/build-embedded.yml
Evan Simkowitz 92243c1f6e Fix build script (#48)
* Fix flag in build-embedded workflow

* use npm script
2024-10-03 20:37:27 -07:00

32 lines
793 B
YAML

name: Build embedded docsite
env:
NODE_VERSION: 20
on:
push:
branches: [main]
jobs:
build-embedded:
name: Build embedded site
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: ${{env.NODE_VERSION}}
- name: Install yarn
run: |
corepack enable
yarn install
- name: Build embedded site
run: yarn build-embedded
- name: Upload embedded site artifact
uses: actions/upload-artifact@v4
with:
name: static-site
path: build