Skip to content

Commit 4320137

Browse files
simplify to publish docs on all rel branches
1 parent 3f7daf1 commit 4320137

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

.github/workflows/build-docs.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,6 @@ jobs:
2424
steps:
2525
- name: Checkout
2626
uses: actions/checkout@v4
27-
- name: Determine latest rel-x.y branch
28-
id: latest
29-
run: |
30-
latest_branch=$(git branch -r \
31-
| sed 's|origin/||' \
32-
| grep '^rel-[0-9]\+\.[0-9]\+$' \
33-
| sed 's/rel-//' \
34-
| sort -V \
35-
| tail -n 1)
36-
echo "latest=rel-$latest_branch" >> "$GITHUB_OUTPUT"
37-
38-
- name: Stop if not latest
39-
if: steps.latest.outputs.latest != github.ref_name
40-
run: |
41-
echo "Not latest branch. This is ${{ github.ref_name }}, latest is ${{ steps.latest.outputs.latest }}"
42-
exit 0
4327
- name: Setup bun
4428
uses: oven-sh/setup-bun@v2
4529
with:

0 commit comments

Comments
 (0)