Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github Build and Deploy Error: No uploaded artifact was found

I am trying to deploy a github.io blog but having an issue with build and deployment. I can build the files without any issue on local server, but when I try to publish it on github server by pushing it, it throws a build and deployment error saying:

Error: Error: No uploaded artifact was found!

img

Here's my git repo link for more info: https://github.com/dailyole/dailyole.github.io/runs/4677505925?check_suite_focus=true

I was able to publish the same files on github.io without an issue a few weeks ago, but it throws an error now.

like image 552
user9532692 Avatar asked Apr 10 '26 22:04

user9532692


2 Answers

In my case, I was just using an older version of the actions/deploy-pages@v4 action. I updated it to v4 and it worked. Please check the latest version in GH documentation and update accordingly.

like image 85
rupakg Avatar answered Apr 12 '26 16:04

rupakg


In my case my problem was caused by some bad submodule references: https://github.com/catalin-hritcu/catalin-hritcu.github.io/actions/runs/1643762494

No url found for submodule path 'teaching/epit2018' in .gitmodules

This seems to be a common issue these days: https://github.community/t/failed-to-publish-static-site-spa-with-submodules/219880

It fixed it with some commands like this:

git rm --cached teaching/epit2018

This doesn't seem the problem for you though.

like image 28
Catalin Hritcu Avatar answered Apr 12 '26 16:04

Catalin Hritcu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!