Skip to content

Commit

Permalink
Only publish docs on release
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyzerner committed Dec 8, 2023
1 parent e9d8c12 commit a77e526
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ name: Deploy Docs
on:
workflow_dispatch: {}
push:
branches: [main]
tags:
- 'v*'

jobs:
deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
permissions:
pages: write
id-token: write
Expand Down

0 comments on commit a77e526

Please sign in to comment.