Skip to content

Commit

Permalink
fix: uploading #5
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinPostindustria committed Aug 22, 2024
1 parent b443f2c commit 0e30d73
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/upload-docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Upload Docs iOS
name: Upload Docs Android

on:
push:
Expand All @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 0e30d73

Please sign in to comment.