Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Auto documentation update is failing #172

@kou

Description

@kou

Describe the bug, including details regarding any error messages, version, and platform.

https://github.com/apache/arrow-js/actions/runs/15816158608/job/44575282712#step:9:2

  cd site
  cp -a ../.asf.yaml ./
  git add .asf.yaml
  git config user.name "github-actions[bot]"
  git config user.email "github-actions[bot]@users.noreply.github.com"
  if [ "$(git diff --cached)" != "" ]; then
    git commit -m "Update ${GITHUB_SHA}"
    git push origin "$(git branch --show-current)"
  fi
  shell: /usr/bin/bash -e {0}
  env:
    RC: 20250623
    VERSION: 21.0.0
    NEED_PUBLISH: yes
[detached HEAD ee6381b] Update c48989f5484cc0fdf32e441a86ffc5724d01cd9d
 31 files changed, 154 insertions(+), 154 deletions(-)
fatal: invalid refspec ''

https://github.com/kou/arrow-js/actions/runs/15772310130/job/44459315601#step:8:26

+ git fetch origin gh-pages
From https://github.com/kou/arrow-js
 * branch            gh-pages   -> FETCH_HEAD
 * [new branch]      gh-pages   -> origin/gh-pages
+ git worktree add site origin/gh-pages
Preparing worktree (detached HEAD 744376b)
HEAD is now at 744376b Update 25604b7a5364c83e129f8c145d4ccc93fa832dcc
+ tar_gz=/home/runner/work/arrow-js/arrow-js/apache-arrow-js-docs-20.0.0.tar.gz
+ pushd site
~/work/arrow-js/arrow-js/site ~/work/arrow-js/arrow-js
+ '[' gh-pages = asf-site ']'
+ for branch in *
+ '[' '!' -d docs ']'
+ git fetch origin docs
fatal: couldn't find remote ref docs
+ git rm docs
fatal: not removing 'docs' recursively without -r

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions