-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 1.06 KB
/
update-doc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Update docs
on:
release:
types: [published]
workflow_dispatch:
jobs:
create-files:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install deps
run: pip install -r requirements.txt
- name: Create md files
run: sphinx-build -M markdown ./docs_source ./docs
- name: Update docs website
uses: car-on-sale/[email protected]
env:
API_TOKEN_GITHUB: ${{ secrets.WEBSITE_GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.WEBSITE_GITHUB_TOKEN }}
with:
source_folder: 'docs/markdown'
destination_repo: 'ScribeLabsAI/documentation'
destination_folder: 'docs/SDK/auth-python'
destination_base_branch: 'master'
destination_head_branch: 'auth-python-update'
commit_msg: 'docs(authPython): Update Auth Python doc'
pr_title: 'Update Auth Python doc'
pull_request_reviewers: 'EHadoux'
user_email: '[email protected]'
user_name: 'ailinvenerus'