fix: typo in navbar #43
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: 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 }} |