Skip to content

Commit c9b9dc5

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

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

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

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626
uses: actions/checkout@v4
2727
with:
2828
ref: refs/heads/main
29-
sparse-checkout: |
30-
.github/scripts
3129
token: ${{ secrets.GITHUB_TOKEN }}
3230

3331
- name: Check out api schemas from en branch
@@ -37,23 +35,23 @@ jobs:
3735
path: openapi
3836
token: ${{ secrets.GITHUB_TOKEN }}
3937

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

45-
- name: Install script dependencies
46-
working-directory: .github/scripts
47-
run: npm install
43+
# - name: Install script dependencies
44+
# working-directory: .github/scripts
45+
# run: npm install
4846

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

5351
- name: Push openapi directory to en-api-docs branch
5452
5553
env:
5654
REPO: self
57-
BRANCH: refs/heads/en-api-docs
55+
BRANCH: en-api-docs
5856
FOLDER: openapi
5957
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)