Skip to content

Commit fc956f5

Browse files
Merge pull request #72 from apivideo/documentation-repo-standalone
The documentation repo becomes independent :)
2 parents c5f7a8a + 6960208 commit fc956f5

File tree

4 files changed

+207
-169
lines changed

4 files changed

+207
-169
lines changed
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-documentation
24+
destination-path: sdks/api-clients
25+
destination-filename: apivideo-swift5-client.md
26+
pat: "${{ secrets.PAT }}"
27+

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,4 @@ iOSInjectionProject/
102102
!*.xcworkspace/contents.xcworkspacedata
103103
**/xcshareddata/WorkspaceSettings.xcsettings
104104

105-
# End of https://www.toptal.com/developers/gitignore/api/swift,xcode
106-
documentation.md
105+
# End of https://www.toptal.com/developers/gitignore/api/swift,xcode

.openapi-generator/FILES

-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ docs/Webhook.md
184184
docs/WebhooksAPI.md
185185
docs/WebhooksCreationPayload.md
186186
docs/WebhooksListResponse.md
187-
documentation.md
188187
git_push.sh
189188
post-generate.sh
190189
project.yml

0 commit comments

Comments
 (0)