Skip to content

Commit

Permalink
docs: only build on release
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie committed Jul 16, 2024
1 parent b8ae0ff commit 00d6c20
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: Build docs

on:
push:
branches:
- main
tags:
- "v*"
workflow_dispatch:

concurrency:
Expand All @@ -26,6 +26,8 @@ jobs:
- run: |
make docs
- uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
keep_files: true
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

0 comments on commit 00d6c20

Please sign in to comment.