Skip to content

fix: build

fix: build #12

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main # or your default branch
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
packages: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install Dependencies
run: yarn install
- name: Build
run: yarn build:mainnet
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: "./apps/frontend/dist"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1