Closed lulu010722 closed 2 years ago
试试这个:https://zhuanlan.zhihu.com/p/508457566 ,在运行命令之前先安装 Pandoc。
cd /tmp
wget -c https://github.com/jgm/pandoc/releases/download/2.14.0.3/pandoc-2.14.0.3-1-amd64.deb
sudo dpkg -i pandoc-2.14.0.3-1-amd64.deb
哇!成功了!确实是没有添加pandoc依赖的问题。 现在CI/CD确实可以成功了 不过看你的结构,比如你添加了博客,那么你push到origin/source,触发hexo CI/CD那个action,然后这个做完之后,继续做hexo的默认action,貌似有一点点慢。。 我尝试找个方法,看看能不能一次搞定。
总之,谢谢!
尝试同时开启latex和algolia 按照开启algolia的教程,编写了新的workflow file,并新建了分支source,将源文件push到该分支上
但是在执行新建的actions的时候,出现了下面的问题
好像是因为github服务器上没有pandoc依赖,但是我不知道如何在workflow file里面下载,求教。
workflow file见下: