Skip to content

Merge pull request #36 from jichu4n/dependabot/npm_and_yarn/vercel/nc… #69

Merge pull request #36 from jichu4n/dependabot/npm_and_yarn/vercel/nc…

Merge pull request #36 from jichu4n/dependabot/npm_and_yarn/vercel/nc… #69

name: deploy qbjc playground
on:
push:
branches: [master]
jobs:
build-and-deploy-playground:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install --legacy-peer-deps
- env:
REACT_APP_SEGMENT_WRITE_KEY: ${{ secrets.SEGMENT_WRITE_KEY }}
run: npm run --workspaces build
- uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./playground/build
cname: qbjc.dev