docs: Add scripting on deploy for plausible analytics

This commit is contained in:
FoxxMD 2024-06-12 16:06:34 -04:00
parent 09b0c96263
commit 9fb032e030
2 changed files with 16 additions and 1 deletions

View file

@ -4,6 +4,7 @@ on:
push:
branches:
- master
- developDocs
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
@ -22,6 +23,9 @@ jobs:
run: npm ci
working-directory: ./docsite
- name: Build website
env:
ANALYTICS: ${{ secrets.ANALYTICS }}
ANALYTICS_DOMAIN: ${{ secrets.ANALYTICS_DOMAIN }}
run: npm run build
working-directory: ./docsite