Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support: Run hugo --minify hugo --minify shell: /usr/bin/bash -e {0} Total in 0 ms Error: Unable to locate config file or config directory. Perhaps you need to create a new site. Run hugo help new for details. Error: Process completed with exit code 1. #661

Open
3 tasks done
habibimoiz opened this issue Nov 22, 2024 · 0 comments
Assignees
Labels
support User support

Comments

@habibimoiz
Copy link

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 am trying to deploy a static HTML directory to my GitHub pages, however when I add the following to my workflow, I am getting the following error:

Run hugo --minify
hugo --minify
shell: /usr/bin/bash -e {0}
Total in 0 ms
Error: Unable to locate config file or config directory. Perhaps you need to create a new site.
Run hugo help new for details.
Error: Process completed with exit code 1.

Relevant links

Public repository:
YAML config:
YAML workflow:

Relevant log output

Run hugo --minify
hugo --minify
shell: /usr/bin/bash -e {0}
Total in 0 ms
Error: Unable to locate config file or config directory. Perhaps you need to create a new site.
Run hugo help new for details.
Error: Process completed with exit code 1.

Additional context.

I do not have a config file configured, however I am not seeing anywhere in the documentation where that is a requirement.

@habibimoiz habibimoiz added the support User support label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support User support
Projects
None yet
Development

No branches or pull requests

2 participants