Skip to content

fix: 404 errors on static images used in menu #42

fix: 404 errors on static images used in menu

fix: 404 errors on static images used in menu #42

Workflow file for this run

name: Publish
on:
push:
branches:
- main
env:
REACT_APP_POLLING_INTERVAL: 300000
jobs:
doc:
name: Build and publish assets
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: yarn
- name: Install dependencies
run: make deps
- name: Build
run: make build
- name: Generate assets
run: make static-assets
# https://github.com/marketplace/actions/github-pages
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: static-assets
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}