mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-26 04:15:30 +00:00
chore: add step in api-doc action to copy v3 swagger
Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
24
.github/workflows/publish-api-docs.yml
vendored
24
.github/workflows/publish-api-docs.yml
vendored
@@ -42,6 +42,18 @@ jobs:
|
||||
user_name: 'o1lab'
|
||||
commit_message: 'Autorelease from github.com/nocodb/nocodb'
|
||||
|
||||
- name: Pushes swagger file to data-apis-v3
|
||||
uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
|
||||
with:
|
||||
source_file: 'packages/nocodb/src/schema/swagger-v3.json'
|
||||
destination_repo: 'nocodb/noco-apis-doc'
|
||||
destination_folder: 'data-apis-v3'
|
||||
user_email: 'oof1lab@gmail.com'
|
||||
user_name: 'o1lab'
|
||||
commit_message: 'Autorelease from github.com/nocodb/nocodb'
|
||||
|
||||
- name: Pushes swagger file to meta-apis-v1
|
||||
uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658
|
||||
env:
|
||||
@@ -65,3 +77,15 @@ jobs:
|
||||
user_email: 'oof1lab@gmail.com'
|
||||
user_name: 'o1lab'
|
||||
commit_message: 'Autorelease from github.com/nocodb/nocodb'
|
||||
|
||||
- name: Pushes swagger file to meta-apis-v3
|
||||
uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
|
||||
with:
|
||||
source_file: 'packages/nocodb/src/schema/swagger-v3.json'
|
||||
destination_repo: 'nocodb/noco-apis-doc'
|
||||
destination_folder: 'meta-apis-v3'
|
||||
user_email: 'oof1lab@gmail.com'
|
||||
user_name: 'o1lab'
|
||||
commit_message: 'Autorelease from github.com/nocodb/nocodb'
|
||||
|
||||
Reference in New Issue
Block a user