Skip to content

Commit 0e30d73

Browse files
fix: uploading #5
1 parent b443f2c commit 0e30d73

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/upload-docs.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Upload Docs iOS
1+
name: Upload Docs Android
22

33
on:
44
push:
@@ -19,9 +19,8 @@ jobs:
1919
distribution: 'temurin'
2020
- name: Generate docs
2121
run: |
22-
rm -rf docs
2322
./gradlew :PrebidMobile:combinedJavadoc
24-
cp -r PrebidMobile/build/combinedJavadoc docs
23+
cp -r PrebidMobile/build/combinedJavadoc docs_new
2524
- name: Checkout repository
2625
uses: actions/checkout@v4
2726
with:
@@ -37,6 +36,9 @@ jobs:
3736
TAG_NAME=${TAG_NAME#refs/tags/}
3837
echo "Current tag: $TAG_NAME"
3938
ls -l
39+
rm -rf docs
40+
cp -r docs_new docs
41+
rm -rf docs_new
4042
git add docs
4143
git commit -m "Generate docs - $TAG_NAME"
4244
- name: Push changes

0 commit comments

Comments
 (0)