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

Build and Deploy: All jobs have failed #171

Open
bigbigda opened this issue Nov 22, 2023 · 3 comments
Open

Build and Deploy: All jobs have failed #171

bigbigda opened this issue Nov 22, 2023 · 3 comments

Comments

@bigbigda
Copy link

编辑本地文件并push后,邮件收到build报错,但是网页打开似乎是正常的。有两个问题请教一下:

  1. github workflow这里的build是在做什么呢,为什么都失败了网站看着还是正常的?
  2. 我这个报错应该怎么解决
image
@bigbigda
Copy link
Author

JamesIves/github-pages-deploy-action 升级到v4后不报错了,不过根本不知道原理是啥

@mzlogin
Copy link
Owner

mzlogin commented Nov 23, 2023

仓库里的 workflow 原来是用作在 master 分支推送后,自动 build,然后将生成的最终静态文件推送到 built 分支,用作静态文件和图片的 jsdelivr cdn 加速的,不过后来 jsdelivr 也不稳定,就关掉了,我的仓库里已经把 workflow 禁用掉了,方法是将 ci.yml 文件改个后缀名如 ci.yml~,或者直接删掉,然后检查下 _config.yml 里的 cdn.jsdelivr.enabled 是 false。

@mzlogin
Copy link
Owner

mzlogin commented Nov 23, 2023

在 cdn 加速没有开启的情况下,这个 workflow 成功失败不影响网页展示。网页是 master 分支在 GitHub 自动 build 的,GitHub Pages 官方服务负责处理。

bigbigda added a commit to bigbigda/bigbigda.github.io that referenced this issue Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants