Files
nocodb/.github/workflows/publish-api-docs.yml
Pranav C c734f74e51 chore: update release actions
Signed-off-by: Pranav C <pranavxc@gmail.com>
2022-04-07 16:39:47 +05:30

27 lines
714 B
YAML

name: "Publish : Api Docs"
on:
push:
branches: [ master ]
paths:
- "scripts/sdk/swagger.json"
jobs:
copy-file:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Pushes generated output
uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658
env:
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
with:
source_file: 'scripts/sdk/swagger.json'
destination_repo: 'nocodb/noco-apis-doc'
destination_folder: 'src'
user_email: 'oof1lab@gmail.com'
user_name: 'o1lab'
commit_message: 'Autorelease from github.com/nocodb/nc'