Skip to content

Commit 87e0203

Browse files
James Chapmanclaude
authored andcommitted
Clean up CI: remove hardcoded rewrite branch, deploy docs on tag push
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 814240c commit 87e0203

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22

33
on:
44
push:
5-
branches: [main, "rewrite/**"]
5+
branches: [main]
66
tags: ["v*"]
77
pull_request:
88
branches: [main]
@@ -120,7 +120,7 @@ jobs:
120120
run: mkdocs build --strict
121121

122122
- name: Deploy to GitHub Pages
123-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
123+
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
124124
uses: peaceiris/actions-gh-pages@v4
125125
with:
126126
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)