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: Unable to locate config file or config directory #741

Open
3 tasks done
ChrisKinko opened this issue May 1, 2022 · 3 comments
Open
3 tasks done

support: Unable to locate config file or config directory #741

ChrisKinko opened this issue May 1, 2022 · 3 comments
Assignees
Labels

Comments

@ChrisKinko
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 failed to build hugo...
截屏2022-05-02 1 45 24

I'm trying to deploy my hugo blog in repository A to my github pages repository B. Here is what my workflow looks like:
截屏2022-05-02 1 47 28

Relevant links

Public repository:
YAML config:
YAML workflow:

Relevant log output

No response

Additional context.

No response

@ChrisKinko ChrisKinko added the support User support label May 1, 2022
@peaceiris
Copy link
Owner

Is your Hugo project located in the repository root? Your project seems to have a Hugo project under a sub directory.
In this case you can use the steps.run.working-directory.

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

And you need to deploy your site to another branch like the gh-pages branch, not the master branch, if your Hugo source is managed in the master branch. Please check the basic concepts of GitHub Pages deployment type.

@ChrisKinko
Copy link
Author

Thank you so much, I think my problems are solved. Even though I didn't know what happened...

@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2022

This issue has been marked as inactive.

If you still encounter this or it has changed, add a comment to provide further information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants