Skip to content

Commit 85120d4

Browse files
[12.x] Keep API docs on website branch v12 (#9005)
Keep v12 API docs on website branch v12 The maintenance workflow follows the website default branch. Pin its checkout and push to v12 so future website promotion keeps v12 maintenance snapshots on their own documentation branch. Follow up on #8945 and #8753. Signed-off-by: Florian Hammerschmidt <florianh89@gmail.com>
1 parent c8aff0a commit 85120d4

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ jobs:
514514
uses: actions/checkout@v6
515515
with:
516516
repository: rescript-lang/rescript-lang.org
517+
ref: v12
517518
ssh-key: ${{ secrets.RESCRIPT_LANG_ORG_DEPLOY_KEY }}
518519

519520
- name: Download artifacts
@@ -552,7 +553,7 @@ jobs:
552553
git config --global user.email "github-actions@rescript-lang.org"
553554
git add data/api
554555
git commit -m "Update API docs for $GITHUB_REF_NAME"
555-
git push
556+
git push origin HEAD:v12
556557
557558
test-installation-npm:
558559
needs:
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Keep v12 API documentation checks and publication on website branch `v12`
2+
when the website's default branch changes.

0 commit comments

Comments
 (0)