[X] I have read the latest README and followed the instructions.
[X] I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.
Describe your question
I get the following error
[INFO] Unable to locate executable file: git. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
Run peaceiris/actions-gh-pages@v3
with:
github_token: ***
publish_dir: ./cypress/reports
destination_dir: dev
user_name: github-actions[bot]
user_email: github-actions[bot]@users.noreply.github.com
publish_branch: gh-pages
allow_empty_commit: false
keep_files: false
force_orphan: false
enable_jekyll: false
disable_nojekyll: false
exclude_assets: .github
env:
CI: 1
CYPRESS_CACHE_FOLDER: /home/runner/.cache/Cypress
npm_config_cache: /home/runner/.npm
TERM: xterm
[INFO] Usage https://github.com/peaceiris/actions-gh-pages#readme
Dump inputs
[INFO] GithubToken: true
[INFO] PublishBranch: gh-pages
[INFO] PublishDir: ./cypress/reports
[INFO] DestinationDir: dev
[INFO] ExternalRepository:
[INFO] AllowEmptyCommit: false
[INFO] KeepFiles: false
[INFO] ForceOrphan: false
[INFO] UserName: github-actions[bot]
[INFO] UserEmail: github-actions[bot]@users.noreply.github.com
[INFO] CommitMessage:
[INFO] FullCommitMessage:
[INFO] TagName:
[INFO] TagMessage:
[INFO] EnableJekyll (DisableNoJekyll): false
[INFO] CNAME:
[INFO] ExcludeAssets .github
Setup auth token
[INFO] setup GITHUB_TOKEN
Prepare publishing assets
[INFO] ForceOrphan: false
[INFO] first deployment, create new branch gh-pages
[INFO] Unable to locate executable file: git. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
[INFO] chdir /home/runner/actions_github_pages_1707221697799
Error: Action failed with "Unable to locate executable file: git. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
Checklist
Describe your question
I get the following error
[INFO] Unable to locate executable file: git. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
Relevant links
Relevant log output
Log output
Additional context.
No response