Skip to content

Fix GH Pages docs #66

@zefir-git

Description

@zefir-git
Run actions/upload-pages-artifact@v3
  with:
    path: target/site/apidocs
    name: github-pages
    retention-days: 1
  env:
    JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.16-8/x64
    JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.16-8/x64
    GITHUB_PAGES: true
Run echo ::group::Archive artifact
  echo ::group::Archive artifact
  tar \
    --dereference --hard-dereference \
    --directory "$INPUT_PATH" \
    -cvf "$RUNNER_TEMP/artifact.tar" \
    --exclude=.git \
    --exclude=.github \
    .
  echo ::endgroup::
  shell: /usr/bin/sh -e {0}
  env:
    JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.16-8/x64
    JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.16-8/x64
    GITHUB_PAGES: true
    INPUT_PATH: target/site/apidocs
Archive artifact
  tar: target/site/apidocs: Cannot open: No such file or directory
  tar: Error is not recoverable: exiting now
  Error: Process completed with exit code 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn unexpected problem or behaviour

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions