From 359cc54e6490e64c5422c709897c8d72a9606034 Mon Sep 17 00:00:00 2001 From: Olivier Lando Date: Tue, 21 Nov 2023 11:29:46 +0100 Subject: [PATCH] README to documentation synchro --- .github/workflows/create-documentation-pr.yml | 4 ++-- .github/workflows/update-documentation.yml | 18 ------------------ 2 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 .github/workflows/update-documentation.yml diff --git a/.github/workflows/create-documentation-pr.yml b/.github/workflows/create-documentation-pr.yml index 82386d5..666bab2 100644 --- a/.github/workflows/create-documentation-pr.yml +++ b/.github/workflows/create-documentation-pr.yml @@ -20,8 +20,8 @@ jobs: uses: apivideo/api.video-create-readme-file-pull-request-action@main with: source-file-path: "README.md" - destination-repository: apivideo/api.video-api-client-generator - destination-path: templates/documentation/sdks/player + destination-repository: apivideo/api.video-documentation + destination-path: sdks/player destination-filename: apivideo-videojs-analytics.md pat: "${{ secrets.PAT }}" \ No newline at end of file diff --git a/.github/workflows/update-documentation.yml b/.github/workflows/update-documentation.yml deleted file mode 100644 index 4393f65..0000000 --- a/.github/workflows/update-documentation.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Update readme.io documentation -on: - push: - branches: - - main -jobs: - update-documentation: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Update readme.io documentation - uses: apivideo/api.video-readmeio-document-sync-action@1.2 - with: - document-slug: videojs-analytics-plugin - markdown-file-path: README.md - readme-io-api-key: ${{ secrets.README_IO_API_KEY }} - make-relative-links-absolute: true - \ No newline at end of file