[server] Code change for server connection count metrics (#591) #149
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Javadoc | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
PublishJavaDoc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- shell: bash | |
run: | | |
git remote set-head origin --auto | |
git remote add upstream https://github.com/linkedin/venice | |
git fetch upstream | |
git config --global user.name "JavaDoc Bot" | |
git config --global user.email "[email protected]" | |
git switch -C javadoc | |
git rebase upstream/main | |
git push -f origin javadoc | |
- name: Validate Gradle wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: "aggregateJavadoc" | |
- name: Deploy to GitHub Page | |
uses: JamesIves/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: javadoc | |
clean: true | |
folder: "build/javadoc" | |
target-folder: docs/javadoc |