Skip to content

Commit 9644242

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

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

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

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,27 @@ jobs:
3535
with:
3636
ref: refs/heads/en
3737
path: openapi
38+
sparse-checkout: |
39+
.
3840
token: ${{ secrets.GITHUB_TOKEN }}
3941

40-
- name: Set up Node.js
41-
uses: actions/setup-node@v4
42-
with:
43-
node-version: ${{ matrix.node-version }}
42+
# - name: Set up Node.js
43+
# uses: actions/setup-node@v4
44+
# with:
45+
# node-version: ${{ matrix.node-version }}
4446

45-
- name: Install script dependencies
46-
working-directory: .github/scripts
47-
run: npm install
47+
# - name: Install script dependencies
48+
# working-directory: .github/scripts
49+
# run: npm install
4850

49-
- name: Run add-code-samples script
50-
working-directory: .github/scripts
51-
run: npm run add-code-samples -- "../../openapi" "openapi.*\\.json"
51+
# - name: Run add-code-samples script
52+
# working-directory: .github/scripts
53+
# run: npm run add-code-samples -- "../../openapi" "openapi.*\\.json"
5254

5355
- name: Push openapi directory to en-api-docs branch
5456
5557
env:
5658
REPO: self
57-
BRANCH: refs/heads/en-api-docs
59+
BRANCH: en-api-docs
5860
FOLDER: openapi
5961
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)