update README, add license #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build web deployment | |
on: | |
push: | |
branches: | |
- main | |
release: | |
types: [created] | |
workflow_dispatch: | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies with pnpm | |
uses: ./.github/actions/pnpm | |
- name: Build the web distribution | |
run: DEPLOY_TO_GH=true pnpm --filter client build | |
- name: Deploy to GitHub pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
deploy_key: ${{ secrets.GH_ACTIONS_DEPLOY_KEY }} | |
publish_dir: ./packages/client/build |