Only run docgen on new release

This commit is contained in:
Mike Almeloo
2024-02-10 19:43:56 +01:00
committed by GitHub
parent 420cfe15d2
commit 7e37a9291b

View File

@@ -3,12 +3,13 @@ name: Deploy documentation
on:
workflow_dispatch:
push:
branches:
- main
tags:
- 'v[0-9]\.[0-9]+\.[0-9]+'
jobs:
deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
permissions:
pages: write