Skip to content

Commit

Permalink
The documentation repo becomes independent :)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierapivideo authored Nov 21, 2023
1 parent c5f7a8a commit e4d0b8a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/create-documentation-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Create documentation PR
on:
# Trigger the workflow on pull requests targeting the main branch
pull_request:
types: [assigned, unassigned, opened, reopened, synchronize, edited, labeled, unlabeled, edited, closed]
branches:
- main

jobs:
create_documentation_pr:
if: github.event.action != 'closed'

runs-on: ubuntu-latest

steps:
- name: Check out current repository code
uses: actions/checkout@v2

- name: Create the documentation pull request
uses: apivideo/api.video-create-readme-file-pull-request-action@main
with:
source-file-path: "README.md"
destination-repository: apivideo/api.video-documentation
destination-path: sdks/api-clients
destination-filename: apivideo-swift5-client.md
pat: "${{ secrets.PAT }}"

3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,4 @@ iOSInjectionProject/
!*.xcworkspace/contents.xcworkspacedata
**/xcshareddata/WorkspaceSettings.xcsettings

# End of https://www.toptal.com/developers/gitignore/api/swift,xcode
documentation.md
# End of https://www.toptal.com/developers/gitignore/api/swift,xcode
1 change: 0 additions & 1 deletion .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ docs/Webhook.md
docs/WebhooksAPI.md
docs/WebhooksCreationPayload.md
docs/WebhooksListResponse.md
documentation.md
git_push.sh
post-generate.sh
project.yml

0 comments on commit e4d0b8a

Please sign in to comment.