_private Directory not d get in in Github页面为Javadoc构建

发布于 2025-01-29 03:56:49 字数 192 浏览 5 评论 0原文

目录 _private 及其内容不包含在github页面构建中。 该项目的 java doc 具有 _private 目录,其内容最终不会在github页面构建中。 当PR合并时,该操作会自动建立开发分支并将构建的站点推到GH-PAGES分支,但我看不到该目录的内容。

The directory _private and its contents don't get included in the GitHub pages build.
The java doc for the project has a _private directory, whose content don't end up in the GitHub pages build.
When a PR is merged, that the action automatically builds the develop branch and pushes the built site to the gh-pages branch, but I can't see the directory's content there.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

弃爱 2025-02-05 03:56:49

动作会自动构建开发分支,并将构建的站点推到GH-pages分支

取决于哪个动作。

例如,此操作 =“ https://github.com/jamesives/github-pages-deploy-action” rel =“ nofollow noreferrer”> jamesives/github-pages-pages-deploy-action 步骤生成Javadoc。

runs:
using: "composite"
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-java@v2
with:
java-version: ${{ inputs.java-version }}
distribution: 'adopt'
- name: Generate Javadoc
run: mvn org.apache.maven.plugins:maven-javadoc-plugin:3.3.1:aggregate
shell: bash
- name: Deploy

the action automatically builds the develop branch and pushes the built site to the gh-pages branch

It depends which action.

For instance, this action uses the JamesIves/github-pages-deploy-action step, after generating the javadoc.

runs:
  using: "composite"
  steps:
  - uses: actions/checkout@v2
    with:
      fetch-depth: 0
  - uses: actions/setup-java@v2
    with:
      java-version: ${{ inputs.java-version }}
      distribution: 'adopt'
  - name: Generate Javadoc
    run: mvn org.apache.maven.plugins:maven-javadoc-plugin:3.3.1:aggregate
    shell: bash
  - name: Deploy ????
    uses: JamesIves/[email protected]
    with:
      token: ${{ inputs.GITHUB_TOKEN }}
      branch: ${{ inputs.javadoc-branch }}
      clean: true
      folder: target/site/apidocs
      target-folder: ${{ inputs.target-folder }} 
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文