From 0e30d73e2b0e6c53b71cad2e5859f1a422670f51 Mon Sep 17 00:00:00 2001 From: Valentin Petrovych Date: Thu, 22 Aug 2024 09:55:43 +0200 Subject: [PATCH] fix: uploading #5 --- .github/workflows/upload-docs.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/upload-docs.yml b/.github/workflows/upload-docs.yml index d03229fd0..8e694bf7c 100644 --- a/.github/workflows/upload-docs.yml +++ b/.github/workflows/upload-docs.yml @@ -1,4 +1,4 @@ -name: Upload Docs iOS +name: Upload Docs Android on: push: @@ -19,9 +19,8 @@ jobs: distribution: 'temurin' - name: Generate docs run: | - rm -rf docs ./gradlew :PrebidMobile:combinedJavadoc - cp -r PrebidMobile/build/combinedJavadoc docs + cp -r PrebidMobile/build/combinedJavadoc docs_new - name: Checkout repository uses: actions/checkout@v4 with: @@ -37,6 +36,9 @@ jobs: TAG_NAME=${TAG_NAME#refs/tags/} echo "Current tag: $TAG_NAME" ls -l + rm -rf docs + cp -r docs_new docs + rm -rf docs_new git add docs git commit -m "Generate docs - $TAG_NAME" - name: Push changes