Skip to content

Commit cbdf81f

Browse files
authored
chore(ci): Fix bug where docs were released with old version during release workflow. (#2076)
1 parent 7bb7b29 commit cbdf81f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,9 @@ jobs:
272272
- id: checkout
273273
name: Checkout repository
274274
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
275+
with:
276+
# Checkout PR branch to make sure we build the version-bumped docs
277+
ref: ci-${{ github.run_id }}
275278
- name: Build
276279
run: |
277280
mkdir -p dist

0 commit comments

Comments
 (0)