Skip to content

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [v2.0, master]
pull_request:
branches: [v2.0, master]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "18" # specify the Node.js version you want
- name: Build site # If your site requires a build step, include it here
run: |
cd frontend
npm install
npm run build
env:
CI: true
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./frontend/build
publish_branch: pages