Skip to content

add base and bnb smart chain endpoints to navigation (#170) #117

add base and bnb smart chain endpoints to navigation (#170)

add base and bnb smart chain endpoints to navigation (#170) #117

name: Build and Deploy Specs to GH Pages
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: ./.github/actions/setup-pnpm
- name: Run build script
id: build
run: pnpm generate
- name: Upload static files as artifact
id: deploy-artifact
uses: actions/upload-pages-artifact@v3
with:
path: build/
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4