Skip to content

Commit 77c2467

Browse files
committed
fix: set target branch
1 parent 2c6c824 commit 77c2467

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/en-api-docs.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,8 @@ jobs:
2222
node-version: [24.x]
2323

2424
steps:
25-
- name: Check out scripts from main branch
25+
- name: Check out the repository
2626
uses: actions/checkout@v4
27-
with:
28-
ref: refs/heads/main
29-
sparse-checkout: |
30-
.github/scripts
31-
token: ${{ secrets.GITHUB_TOKEN }}
3227

3328
- name: Check out api schemas from en branch
3429
uses: actions/checkout@v4
@@ -54,6 +49,6 @@ jobs:
5449
5550
env:
5651
REPO: self
57-
BRANCH: refs/heads/en-api-docs
52+
BRANCH: en-api-docs
5853
FOLDER: openapi
5954
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)