Skip to content

Commit 4e341e3

Browse files
committed
README to documentation synchro
1 parent f46ad6f commit 4e341e3

File tree

2 files changed

+335
-222
lines changed

2 files changed

+335
-222
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Create documentation PR
2+
on:
3+
# Trigger the workflow on pull requests targeting the main branch
4+
pull_request:
5+
types: [assigned, unassigned, opened, reopened, synchronize, edited, labeled, unlabeled, edited, closed]
6+
branches:
7+
- main
8+
9+
jobs:
10+
create_documentation_pr:
11+
if: github.event.action != 'closed'
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Check out current repository code
17+
uses: actions/checkout@v2
18+
19+
- name: Create the documentation pull request
20+
uses: apivideo/api.video-create-readme-file-pull-request-action@main
21+
with:
22+
source-file-path: "README.md"
23+
destination-repository: apivideo/api.video-api-client-generator
24+
destination-path: templates/documentation/sdks/player
25+
destination-filename: apivideo-player-sdk.md
26+
pat: "${{ secrets.PAT }}"
27+

0 commit comments

Comments
 (0)