Browse Source

chore: add step to deploy `meta-apis-v2`

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/6648/head
Pranav C 1 year ago
parent
commit
fce253c468
  1. 12
      .github/workflows/publish-api-docs.yml

12
.github/workflows/publish-api-docs.yml

@ -53,3 +53,15 @@ jobs:
user_email: 'oof1lab@gmail.com' user_email: 'oof1lab@gmail.com'
user_name: 'o1lab' user_name: 'o1lab'
commit_message: 'Autorelease from github.com/nocodb/nocodb' commit_message: 'Autorelease from github.com/nocodb/nocodb'
- name: Pushes swagger file to meta-apis-v2
uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658
env:
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
with:
source_file: 'packages/nocodb/src/schema/swagger-v2.json'
destination_repo: 'nocodb/noco-apis-doc'
destination_folder: 'meta-apis-v2'
user_email: 'oof1lab@gmail.com'
user_name: 'o1lab'
commit_message: 'Autorelease from github.com/nocodb/nocodb'

Loading…
Cancel
Save