Use json rpc for live invite handling #557
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: Site | |
on: | |
push: | |
branches: | |
- main | |
env: | |
NODE_OPTIONS: --max-old-space-size=4096 | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Prep the environment | |
run: echo "VITE_COMMIT_ID=${GITHUB_SHA}" >> $GITHUB_ENV | |
- name: Deps | |
run: npm ci | |
- name: Tests | |
run: npm test | |
- name: Build | |
run: npm run build | |
- name: Deploy | |
if: success() | |
uses: crazy-max/ghaction-github-pages@v2 | |
with: | |
commit_message: Bump | |
target_branch: gh-pages | |
build_dir: dist | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |