This repository has been archived by the owner on Jan 10, 2025. It is now read-only.
math-example: Fix tests that have been broken #2465
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: Docs Publish | |
on: | |
push: | |
branches: [master] | |
paths: | |
- 'docs/**' | |
- '.github/workflows/spl_action.yml' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
name: "importing all the document" | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
name: "installing the node.js with version 18" | |
- name: "Build Docs" | |
if: ${{ github.event_name == ('push' || 'pull_request')}} && ${{github.ref == 'master'}} | |
run: | | |
cd docs/ | |
npm ci | |
./build.sh | |
env: | |
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | |
VERCEL_SCOPE: ${{ secrets.VERCEL_SCOPE }} |