Skip to content

support: no such file or directory and suffix is being added to the end of file directory .* #892

Description

@abolla22

Checklist

  • I am using the latest version of this action.
  • I have read the latest README and followed the instructions.
  • I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.

Describe your question

I'm trying to host the html report to the github pages it was working earlier and recently started failing and unable to find the path to the folder but when i debugged the file path exists. The only difference im seeing is its tailing .* as a suffix to the file path and unable to get the html.

Relevant links

Public repository:
YAML config: 

YAML workflow:

- name: Deploy GitHubPage
        uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3
        if: success() || failure()
        with:
          github_token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
          publish_dir: projects/big-bend/test-report

Relevant log output

/usr/bin/git rm -r --ignore-unmatch * rm '.nojekyll' rm 'index.html' [INFO] chdir /home/runner/actions_github_pages_1682001738777 [INFO] prepare publishing assets [INFO] copy /runner/_work/ui/ui/projects/big-bend/test-report to /home/runner/actions_github_pages_1682001738777 **cp: no such file or directory: /runner/_work/ui/ui/projects/big-bend/test-report/.*** [INFO] delete excluded assets rm: no paths given [INFO] Created /home/runner/actions_github_pages_1682001738777/.nojekyll

Additional context.

During debugging its also confirmed that the file path and file exists.

cd test-report pwd ls

/runner/_work/ui/ui/projects/big-bend/test-report index.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions