Skip to content

Commit 31e5b93

Browse files
authored
Merge pull request #142 from andylintner/fix-site-deploy
Fix site-deploy
2 parents df63574 + 3c976ab commit 31e5b93

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Diff for: .github/workflows/deploy.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,15 @@ jobs:
2424
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2525
server-username: MAVEN_USERNAME
2626
server-password: MAVEN_CENTRAL_TOKEN
27+
- name: Setup git profile
28+
run: |
29+
git config --global user.name github-actions
30+
git config --global user.email [email protected]
2731
- name: Publish to Maven Central
2832
run: mvn deploy
2933
env:
3034
MAVEN_USERNAME: hap-java-dev
3135
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
3236
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
3337
- name: Publish site
34-
run: mvn deploy-site
38+
run: mvn -B site-deploy -Dusername=github-actions -Dpassword=${{ secrets.GITHUB_TOKEN }}

Diff for: README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ Include HAP-Java in your project using maven:
2222
</dependency>
2323
```
2424

25-
After that, check out the [Sample](https://github.com/hap-java/HAP-Java/tree/sample).
25+
After that, check out the [Sample](https://github.com/hap-java/HAP-Java/tree/sample) and
26+
read the [Javadoc](https://hap-java.github.io/HAP-Java/apidocs/index.html)
2627

2728
Supported HomeKit Accessories
2829
=========

Diff for: pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
<plugin>
212212
<groupId>org.apache.maven.plugins</groupId>
213213
<artifactId>maven-scm-publish-plugin</artifactId>
214-
<version>3.0.0</version>
214+
<version>3.1.0</version>
215215
<executions>
216216
<execution>
217217
<id>scm-publish</id>

0 commit comments

Comments
 (0)