Skip to content
\n
\n \n\n \n \n \n \n
args: --user-agent 'curl/7.54' --exclude-path README.md --exclude-path _pages/404.md --exclude-path _pages/blog.md --exclude-path _posts/2018-12-22-distill.md --exclude-path _posts/2023-04-24-videos.md --exclude-path _books/the_godfather.md --verbose --no-progress './**/*.md' './**/*.html'
\n
\n
\n

\n

This happens because the | relative_url is only resolved at build time, and this action runs on the unbuilt site. Or you can disable this action entirely, since we have another one that runs on the built site.

","upvoteCount":1,"url":"https://github.com/alshedivat/al-folio/discussions/3116#discussioncomment-12778341"}}}
/ al-folio Public template

Link Checker action fails with "Failed: Cannot find file" in _projects, but things seem to work #3116

Answered by george-gca
hamzamerzic asked this question in Q&A
Discussion options

You must be logged in to vote

The best solution is to add this file to the ignore in

args: --user-agent 'curl/7.54' --exclude-path README.md --exclude-path _pages/404.md --exclude-path _pages/blog.md --exclude-path _posts/2018-12-22-distill.md --exclude-path _posts/2023-04-24-videos.md --exclude-path _books/the_godfather.md --verbose --no-progress './**/*.md' './**/*.html'

This happens because the | relative_url is only resolved at build time, and this action runs on the unbuilt site. Or you can disable this action entirely, since we have another one that runs on the built site.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hamzamerzic
Comment options

@george-gca
Comment options

Answer selected by hamzamerzic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants