Fix ShopBenefitAddEvent not showing the cancel message (#2416) #241
This file contains hidden or 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 Javadocs | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - hikari | |
| permissions: | |
| contents: write | |
| jobs: | |
| javadocs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| java-version: "21" | |
| distribution: temurin | |
| cache: maven | |
| - name: Generate Javadocs | |
| run: | | |
| mvn -B clean install javadoc:javadoc \ | |
| -DskipTests \ | |
| -Dmaven.javadoc.failOnError=false \ | |
| -Dmaven.javadoc.failOnWarnings=false \ | |
| -pl quickshop-api \ | |
| -am \ | |
| --file pom.xml | |
| - name: Collect Javadocs | |
| run: | | |
| rm -rf public | |
| mkdir -p public/javadoc | |
| cp -R quickshop-api/target/reports/apidocs/* public/javadoc/ | |
| test -f public/javadoc/index.html | |
| echo "Generated Javadocs:" | |
| find public/javadoc -maxdepth 3 -type f | sort | head -100 | |
| - name: Deploy to gh-pages | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_branch: gh-pages | |
| publish_dir: public | |
| destination_dir: . | |
| keep_files: true |