docs: only release docs on new version

This commit is contained in:
Gabe Farrell 2026-01-01 18:41:03 -05:00
parent c346c7cb31
commit 2925425750

View file

@ -2,10 +2,13 @@ name: Deploy to GitHub Pages
on: on:
push: push:
branches: [main] tags:
- "v*"
paths: paths:
- 'docs/**' - "docs/**"
- '.github/workflows/**' - ".github/workflows/**"
workflow_dispatch:
permissions: permissions:
contents: read contents: read