diff --git a/.github/workflows/deploy-site.yaml b/.github/workflows/deploy-site.yaml index faf158a..ea2c046 100644 --- a/.github/workflows/deploy-site.yaml +++ b/.github/workflows/deploy-site.yaml @@ -15,7 +15,7 @@ jobs: with: node-version: 22.9.0 - name: Build site - run: make build-server + run: make build-docs - name: Deploy site uses: JamesIves/github-pages-deploy-action@v4.4.3 diff --git a/Makefile b/Makefile index 7e72407..a35059c 100644 --- a/Makefile +++ b/Makefile @@ -31,10 +31,12 @@ dev-server: @echo "Start dev server" ./node_modules/.bin/esbuild $(FLAGS) --define:LIVE_RELOAD=true --watch --servedir=./display -build-server: - @echo "Build server" - ./node_modules/.bin/esbuild $(FLAGS) --define:LIVE_RELOAD=false - lint: @echo "Lint" ./node_modules/.bin/eslint --fix . + +dev-docs: + ./node_modules/.bin/tsx scripts/serve.ts + +build-docs: + ./node_modules/.bin/tsx scripts/render.ts diff --git a/dev/index.html b/dev/index.html index 94cdb3f..4ea85ca 100644 --- a/dev/index.html +++ b/dev/index.html @@ -3,7 +3,7 @@
-