Skip to content

Merge pull request #15 from jichu4n/readme #48

Merge pull request #15 from jichu4n/readme

Merge pull request #15 from jichu4n/readme #48

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