Skip to content

Commit

Permalink
Build docs always, but only deploy docs when creating tags (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-grace authored Jan 30, 2025
1 parent e6b3162 commit f63b5f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
types: [created]
push:
branches:
- master
- '**'
tags:
- '**'
jobs:
Expand All @@ -24,6 +24,7 @@ jobs:
path: ./docs/build

deploy:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
permissions:
pages: write
id-token: write
Expand Down

0 comments on commit f63b5f9

Please sign in to comment.