Skip to content

fix build

fix build #112

name: Prod Release to Github Pages
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
if: github.repository == 'crustio/crust-files'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18
uses: actions/setup-node@v2
with:
node-version: "18.19.0"
- name: Run install
run: yarn install --frozen-lockfile
- name: Build
run: yarn export
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: out # The folder the action should deploy.
target-folder: docs # The folder the action deploy to.