Skip to content

Add new website component RemoteSource (#1600) #209

Add new website component RemoteSource (#1600)

Add new website component RemoteSource (#1600) #209

Workflow file for this run

name: website
on:
push:
branches:
- master
paths:
- .github/workflows/website.yml
- 'examples/**'
- 'website/**'
- 'website/package.json'
pull_request:
paths:
- .github/workflows/website.yml
- 'examples/**'
- 'website/**'
- 'website/package.json'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Root
run: |
pnpm install
pnpm run package:tgz
- name: Build
working-directory: website
run: |
npm install
npm run build
- name: Deploy
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ./website/out