Skip to content

Commit afb18b1

Browse files
authored
Merge pull request #12 from SLNE-Development/ammodev-patch-1-1
Update publish-docs.yml
2 parents cfdc67c + d625651 commit afb18b1

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/publish-docs.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,16 @@ jobs:
3434
- name: Generate and move Dokka Docs
3535
run: ./gradlew publishDokkaToDocs
3636

37-
- name: Commit and Push changes
38-
run: |
39-
git config --global user.name "GitHub Actions"
40-
git config --global user.email "[email protected]"
41-
git add docs
42-
git commit -m "Update Dokka Docs"
43-
git push
37+
- name: Publish
38+
run: ./gradlew publish
39+
env:
40+
MAVEN_USERNAME: ${{ secrets.REPO_PUBLISH_USERNAME }}
41+
MAVEN_PASSWORD: ${{ secrets.REPO_PUBLISH_TOKEN }}
42+
43+
#- name: Commit and Push changes
44+
# run: |
45+
# git config --global user.name "GitHub Actions"
46+
# git config --global user.email "[email protected]"
47+
#git add docs
48+
#git commit -m "Update Dokka Docs"
49+
#git push

0 commit comments

Comments
 (0)