File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 3434 uses : actions/checkout@v4
3535 with :
3636 ref : refs/heads/en
37- path : openapi
37+ path : api-schemas
3838 token : ${{ secrets.GITHUB_TOKEN }}
3939
4040 - name : Set up Node.js
@@ -48,12 +48,15 @@ jobs:
4848
4949 - name : Run add-code-samples script
5050 working-directory : .github/scripts
51- run : npm run add-code-samples -- "../../openapi " "openapi.*\\.json"
51+ run : npm run add-code-samples -- "../../api-schemas " "openapi.*\\.json"
5252
53- - name : Push openapi directory to en-api-docs branch
53+ - name : Run add-code-samples script
54+ run : echo "README" > api-schemas/README.md
55+
56+ - name : Push processed files to en-api-docs branch
54575558 env :
5659 REPO : self
5760 BRANCH : refs/heads/en-api-docs
58- FOLDER : openapi
61+ FOLDER : api-schemas
5962 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments