-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The documentation repo becomes independent :)
- Loading branch information
olivierapivideo
authored
Nov 21, 2023
1 parent
766837e
commit 1137797
Showing
3 changed files
with
184 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-java-client.md | ||
pat: "${{ secrets.PAT }}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,5 +31,4 @@ post-generate.sh | |
/local.properties | ||
|
||
# macOS | ||
.DS_Store | ||
documentation.md | ||
.DS_Store |
Oops, something went wrong.