Skip to content

Use react-jsx

Use react-jsx #64

on:
push:
branches: [main]
jobs:
deploy:
name: Deploy to GitHub Pages
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies and build
run: |
yarn install --pure-lockfile
yarn prepack
yarn --cwd website install --pure-lockfile
yarn --cwd website build
- name: Deploy
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: website/dist
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}