Getting error when trying to build retype page with gitpages. #257
-
Hello, I have followed the instructions found here: https://retype.com/guides/github-actions/#step-1-add-retypeyml-workflow But I get the following error: I am very much new with all of this, I am unsure of the problem given that it gives no real logs, so not sure how to proceed. It does says the directory does not exist but I do have a .github/workflows in my repo: https://github.com/AtheosGame/AtheosGame.github.io |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
The problem happens because the workflow file name is I see two issues here:
To overcome the issue, simply create your own retype.yml file in the repository root -- which you actually want, as it allows setting up page title and other things you don't want to miss. Follow the Quick Start guide to run retype locally at your repo, create a default configuration file with I think we can avoid this issue in the future by addressing the two issues mentioned above, but you can already get up and running with the guide above. |
Beta Was this translation helpful? Give feedback.
-
I have changed the name of the workflow file, that did not seem to help. I can follow the quick start but that only works on my local machine. I am trying to set it up on git pages. Is there an example of a repository using this new configuration? I have no idea how to proceed. |
Beta Was this translation helpful? Give feedback.
-
oops, I somehow mistook |
Beta Was this translation helpful? Give feedback.
-
I submitted a pull request with a few changes. If you merge the pull request, your project should start building correctly. AtheosGame/AtheosGame.github.io#3 It looks like there is a bug in the Retype build process where if the root If you add even one line to your original Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
retypeapp/action-build#21 fixes the issue by no longer searching for configuration files in hidden UNIX directories (directories starting with a dot There was also an issue checking the result of the search where the action would try an empty config file if no config file was found. It was fixed as well. So at least if this scenario repeats in the future (a repo with a For anyone hitting this issue in the future, currently I believe a best option would be to rely on |
Beta Was this translation helpful? Give feedback.
-
The issue above where a blank The fix will be included in the next public release of Retype. Hope this helps. |
Beta Was this translation helpful? Give feedback.
I submitted a pull request with a few changes. If you merge the pull request, your project should start building correctly.
AtheosGame/AtheosGame.github.io#3
It looks like there is a bug in the Retype build process where if the root
retype.yml
project configuration file is completely blank, the build fails. We will fix that bug before the next release.If you add even one line to your original
retype.yml
file, such asinput: ./
, your project will also build. But, it's probably just easier to accept the pull request as I included a few other minor revisions.Hope this helps.