mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 15:57:03 +00:00
chore: update release actions
Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
26
.github/workflows/publish-api-docs.yml
vendored
Normal file
26
.github/workflows/publish-api-docs.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
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'
|
||||
Reference in New Issue
Block a user