diff --git a/.github/workflows/create-documentation-pr.yml b/.github/workflows/create-documentation-pr.yml index 9c464cd..228b250 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-android-player.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 786ed04..0000000 --- a/.github/workflows/update-documentation.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Update documentation - -on: - release: - types: [published] - -jobs: - update-api-documentation: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Set up Java - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'adopt' - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - name: Generate API documentation - run: ./gradlew dokkaHtml - - name: Deploy API documentation to Github Pages - uses: JamesIves/github-pages-deploy-action@3.7.1 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: gh-pages - FOLDER: player/build/dokka/html \ No newline at end of file